diff options
Diffstat (limited to 'drivers/media/video/w9968cf.c')
-rw-r--r-- | drivers/media/video/w9968cf.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/media/video/w9968cf.c b/drivers/media/video/w9968cf.c index 5a1b5f5a7d46..9e7f3e685d73 100644 --- a/drivers/media/video/w9968cf.c +++ b/drivers/media/video/w9968cf.c | |||
@@ -444,8 +444,6 @@ static int w9968cf_i2c_smbus_xfer(struct i2c_adapter*, u16 addr, | |||
444 | static u32 w9968cf_i2c_func(struct i2c_adapter*); | 444 | static u32 w9968cf_i2c_func(struct i2c_adapter*); |
445 | static int w9968cf_i2c_attach_inform(struct i2c_client*); | 445 | static int w9968cf_i2c_attach_inform(struct i2c_client*); |
446 | static int w9968cf_i2c_detach_inform(struct i2c_client*); | 446 | static int w9968cf_i2c_detach_inform(struct i2c_client*); |
447 | static int w9968cf_i2c_control(struct i2c_adapter*, unsigned int cmd, | ||
448 | unsigned long arg); | ||
449 | 447 | ||
450 | /* Memory management */ | 448 | /* Memory management */ |
451 | static void* rvmalloc(unsigned long size); | 449 | static void* rvmalloc(unsigned long size); |
@@ -1543,21 +1541,12 @@ static int w9968cf_i2c_detach_inform(struct i2c_client* client) | |||
1543 | } | 1541 | } |
1544 | 1542 | ||
1545 | 1543 | ||
1546 | static int | ||
1547 | w9968cf_i2c_control(struct i2c_adapter* adapter, unsigned int cmd, | ||
1548 | unsigned long arg) | ||
1549 | { | ||
1550 | return 0; | ||
1551 | } | ||
1552 | |||
1553 | |||
1554 | static int w9968cf_i2c_init(struct w9968cf_device* cam) | 1544 | static int w9968cf_i2c_init(struct w9968cf_device* cam) |
1555 | { | 1545 | { |
1556 | int err = 0; | 1546 | int err = 0; |
1557 | 1547 | ||
1558 | static struct i2c_algorithm algo = { | 1548 | static struct i2c_algorithm algo = { |
1559 | .smbus_xfer = w9968cf_i2c_smbus_xfer, | 1549 | .smbus_xfer = w9968cf_i2c_smbus_xfer, |
1560 | .algo_control = w9968cf_i2c_control, | ||
1561 | .functionality = w9968cf_i2c_func, | 1550 | .functionality = w9968cf_i2c_func, |
1562 | }; | 1551 | }; |
1563 | 1552 | ||