Messages in this thread Patch in this message | | | Date | Mon, 18 Apr 2005 04:08:48 +0200 | From | Adrian Bunk <> | Subject | [2.6 patch] drivers/usb/media/sn9c102_core.c: make 2 functions static |
| |
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/usb/media/sn9c102_core.c | 4 ++-- drivers/usb/media/sn9c102_sensor.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-)
--- linux-2.6.12-rc2-mm3-full/drivers/usb/media/sn9c102_sensor.h.old 2005-04-18 03:14:54.000000000 +0200 +++ linux-2.6.12-rc2-mm3-full/drivers/usb/media/sn9c102_sensor.h 2005-04-18 03:15:05.000000000 +0200 @@ -145,8 +145,6 @@ */ /* The "try" I2C I/O versions are used when probing the sensor */ -extern int sn9c102_i2c_try_write(struct sn9c102_device*,struct sn9c102_sensor*, - u8 address, u8 value); extern int sn9c102_i2c_try_read(struct sn9c102_device*,struct sn9c102_sensor*, u8 address); --- linux-2.6.12-rc2-mm3-full/drivers/usb/media/sn9c102_core.c.old 2005-04-18 03:15:13.000000000 +0200 +++ linux-2.6.12-rc2-mm3-full/drivers/usb/media/sn9c102_core.c 2005-04-18 03:15:50.000000000 +0200 @@ -429,7 +429,7 @@ } -int +static int sn9c102_i2c_try_write(struct sn9c102_device* cam, struct sn9c102_sensor* sensor, u8 address, u8 value) { @@ -785,7 +785,7 @@ } -int sn9c102_stream_interrupt(struct sn9c102_device* cam) +static int sn9c102_stream_interrupt(struct sn9c102_device* cam) { int err = 0; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |