]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (8245): ovcamchip: Delete stray I2C bus ID
authorJean Delvare <khali@linux-fr.org>
Thu, 10 Jul 2008 14:04:10 +0000 (11:04 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:18:34 +0000 (07:18 -0300)
I2C_HW_SMBUS_OVFX2 is referenced in ovcamchip_core.c, but no bus uses
this driver ID, so we can remove the reference. As far as I can see,
the Cypress FX2 webcam is handled by a different driver (dvb-usb).

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ovcamchip/ovcamchip_core.c
include/linux/i2c-id.h

index 8063e33f1c85ebc45e2b49780fe0908d581d36cd..065c2454113e717ddb2cb6fd276b5e16e3382c0f 100644 (file)
@@ -297,7 +297,6 @@ static int ovcamchip_attach(struct i2c_adapter *adap)
        switch (adap->id) {
        case I2C_HW_SMBUS_OV511:
        case I2C_HW_SMBUS_OV518:
-       case I2C_HW_SMBUS_OVFX2:
        case I2C_HW_SMBUS_W9968CF:
                PDEBUG(1, "Adapter ID 0x%06x accepted", adap->id);
                break;
index ef13b7c66df32bd5fdbf2c5aa2ee1e0d8fb17a2e..9083847157a3c5ceaf9067576e998d8cdc935d65 100644 (file)
 #define I2C_HW_SMBUS_W9968CF   0x04000d
 #define I2C_HW_SMBUS_OV511     0x04000e /* OV511(+) USB 1.1 webcam ICs */
 #define I2C_HW_SMBUS_OV518     0x04000f /* OV518(+) USB 1.1 webcam ICs */
-#define I2C_HW_SMBUS_OVFX2     0x040011 /* Cypress/OmniVision FX2 webcam */
 #define I2C_HW_SMBUS_CAFE      0x040012 /* Marvell 88ALP01 "CAFE" cam  */
 #define I2C_HW_SMBUS_ALI1563   0x040013