commit 7107627b04b46bce8212e6a6811add5eb8bcb476 tree 494ce4cfa89021907ce4e212a4a768aace5a3584 parent be5e3383a95446e933be198d3025df10a072794b author Adrian Bunk <[EMAIL PROTECTED]> 1114207620 -0700 committer Greg KH <[EMAIL PROTECTED]> 1114207620 -0700
[PATCH] USB: drivers/usb/media/sn9c102_core.c: make 2 functions static This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> Index: drivers/usb/media/sn9c102_core.c =================================================================== --- 1bd89cd23ee98127f08ccd076f4485a2e8138df7/drivers/usb/media/sn9c102_core.c (mode:100644 sha1:898401cf7dcc51e8c246f25d24152e23e98fc984) +++ 494ce4cfa89021907ce4e212a4a768aace5a3584/drivers/usb/media/sn9c102_core.c (mode:100644 sha1:31d57400d5bef72d6bf176a84477fd4a2903f40d) @@ -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; Index: drivers/usb/media/sn9c102_sensor.h =================================================================== --- 1bd89cd23ee98127f08ccd076f4485a2e8138df7/drivers/usb/media/sn9c102_sensor.h (mode:100644 sha1:16f7483559f00fd0d47c6b4e6db058320e397bec) +++ 494ce4cfa89021907ce4e212a4a768aace5a3584/drivers/usb/media/sn9c102_sensor.h (mode:100644 sha1:6a7adebcb4bfabc4d26d7b5805f46decc9a4f4cb) @@ -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); ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel