[2.6 patch] drivers/usb/media/sn9c102_core.c: make 2 functions static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <[email protected]>

---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux