summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/m5602/m5602_ov9650.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/gspca/m5602/m5602_ov9650.h')
-rw-r--r--linux/drivers/media/video/gspca/m5602/m5602_ov9650.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_ov9650.h b/linux/drivers/media/video/gspca/m5602/m5602_ov9650.h
index 70429b411..fb21e7ffb 100644
--- a/linux/drivers/media/video/gspca/m5602/m5602_ov9650.h
+++ b/linux/drivers/media/video/gspca/m5602/m5602_ov9650.h
@@ -121,7 +121,7 @@
/* Kernel module parameters */
extern int force_sensor;
extern int dump_sensor;
-extern unsigned int debug;
+extern unsigned int m5602_debug;
int ov9650_probe(struct sd *sd);
int ov9650_init(struct sd *sd);
@@ -466,7 +466,11 @@ static const unsigned char power_down_ov9650[][3] =
/* Vertically and horizontally flips the image if matched, needed for machines
where the sensor is mounted upside down */
-static const struct dmi_system_id ov9650_flip_dmi_table[] = {
+static
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
+ const
+#endif
+ struct dmi_system_id ov9650_flip_dmi_table[] = {
{
.ident = "ASUS A6VC",
.matches = {