Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 762250f8 authored by Adrian Bunk's avatar Adrian Bunk Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (7480): make sn9c102_i2c_try_write() static



This patch makes the needlessly global sn9c102_i2c_try_write() static.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
CC: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent d9aedf1f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -464,9 +464,9 @@ sn9c102_i2c_try_read(struct sn9c102_device* cam,
}


int
sn9c102_i2c_try_write(struct sn9c102_device* cam,
		      const struct sn9c102_sensor* sensor, u8 address, u8 value)
static int sn9c102_i2c_try_write(struct sn9c102_device* cam,
				 const struct sn9c102_sensor* sensor,
				 u8 address, u8 value)
{
	return sn9c102_i2c_try_raw_write(cam, sensor, 3,
					 sensor->i2c_slave_id, address,
+0 −3
Original line number Diff line number Diff line
@@ -85,9 +85,6 @@ sn9c102_attach_sensor(struct sn9c102_device* cam,
*/

/* The "try" I2C I/O versions are used when probing the sensor */
extern int sn9c102_i2c_try_write(struct sn9c102_device*,
				 const struct sn9c102_sensor*, u8 address,
				 u8 value);
extern int sn9c102_i2c_try_read(struct sn9c102_device*,
				const struct sn9c102_sensor*, u8 address);