]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/media/video/gspca/m5602/m5602_ov9650.h
V4L/DVB (10009): gspca - m5602: Convert some functions to be static
[mv-sheeva.git] / drivers / media / video / gspca / m5602 / m5602_ov9650.h
index f2230157d05af1980f136f0daeea6b8a77ae44ab..4d90bd0850916e7182b9ef8a60fa0c788fa59f54 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Driver for the ov9650 sensor
  *
- * Copyright (C) 2008 Erik Andren
+ * Copyright (C) 2008 Erik Andrén
  * Copyright (C) 2007 Ilyes Gouta. Based on the m5603x Linux Driver Project.
  * Copyright (C) 2005 m5603x Linux Driver Project <m5602@x3ng.com.br>
  *
@@ -129,9 +129,7 @@ int ov9650_power_down(struct sd *sd);
 int ov9650_read_sensor(struct sd *sd, const u8 address,
                       u8 *i2c_data, const u8 len);
 int ov9650_write_sensor(struct sd *sd, const u8 address,
-                      u8 *i2c_data, const u8 len);
-
-void ov9650_dump_registers(struct sd *sd);
+                       u8 *i2c_data, const u8 len);
 
 int ov9650_set_exposure(struct gspca_dev *gspca_dev, __s32 val);
 int ov9650_get_exposure(struct gspca_dev *gspca_dev, __s32 *val);
@@ -432,6 +430,7 @@ static const unsigned char init_ov9650[][3] =
        {BRIDGE, M5602_XB_PIX_OF_LINE_L, 0x00},
        {BRIDGE, M5602_XB_SIG_INI, 0x01},
        {BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
+       /* Moves the view window in a vertical orientation */
        {BRIDGE, M5602_XB_VSYNC_PARA, 0x09},
        {BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
        {BRIDGE, M5602_XB_VSYNC_PARA, 0x01},
@@ -463,40 +462,4 @@ static const unsigned char power_down_ov9650[][3] =
        {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}
 };
 
-/* 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[] = {
-       {
-               .ident = "ASUS A6VC",
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "A6VC")
-               }
-       },
-       {
-               .ident = "ASUS A6VM",
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "A6VM")
-               }
-       },
-       {
-               .ident = "ASUS A6JC",
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "A6JC")
-               }
-       },
-       {
-               .ident = "ASUS A6Kt",
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "A6Kt")
-               }
-       },
-       { }
-};
-
 #endif