diff options
-rw-r--r-- | drivers/media/video/sn9c102/sn9c102_core.c | 6 | ||||
-rw-r--r-- | drivers/media/video/sn9c102/sn9c102_sensor.h | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/drivers/media/video/sn9c102/sn9c102_core.c b/drivers/media/video/sn9c102/sn9c102_core.c index 898ae5f578cb..5748b1e1a128 100644 --- a/drivers/media/video/sn9c102/sn9c102_core.c +++ b/drivers/media/video/sn9c102/sn9c102_core.c | |||
@@ -464,9 +464,9 @@ sn9c102_i2c_try_read(struct sn9c102_device* cam, | |||
464 | } | 464 | } |
465 | 465 | ||
466 | 466 | ||
467 | int | 467 | static int sn9c102_i2c_try_write(struct sn9c102_device* cam, |
468 | sn9c102_i2c_try_write(struct sn9c102_device* cam, | 468 | const struct sn9c102_sensor* sensor, |
469 | const struct sn9c102_sensor* sensor, u8 address, u8 value) | 469 | u8 address, u8 value) |
470 | { | 470 | { |
471 | return sn9c102_i2c_try_raw_write(cam, sensor, 3, | 471 | return sn9c102_i2c_try_raw_write(cam, sensor, 3, |
472 | sensor->i2c_slave_id, address, | 472 | sensor->i2c_slave_id, address, |
diff --git a/drivers/media/video/sn9c102/sn9c102_sensor.h b/drivers/media/video/sn9c102/sn9c102_sensor.h index 2dc7c6869484..4af7382da5c5 100644 --- a/drivers/media/video/sn9c102/sn9c102_sensor.h +++ b/drivers/media/video/sn9c102/sn9c102_sensor.h | |||
@@ -85,9 +85,6 @@ sn9c102_attach_sensor(struct sn9c102_device* cam, | |||
85 | */ | 85 | */ |
86 | 86 | ||
87 | /* The "try" I2C I/O versions are used when probing the sensor */ | 87 | /* The "try" I2C I/O versions are used when probing the sensor */ |
88 | extern int sn9c102_i2c_try_write(struct sn9c102_device*, | ||
89 | const struct sn9c102_sensor*, u8 address, | ||
90 | u8 value); | ||
91 | extern int sn9c102_i2c_try_read(struct sn9c102_device*, | 88 | extern int sn9c102_i2c_try_read(struct sn9c102_device*, |
92 | const struct sn9c102_sensor*, u8 address); | 89 | const struct sn9c102_sensor*, u8 address); |
93 | 90 | ||