* [2.6 patch] drivers/usb/media/sn9c102_core.c: make 2 functions static
@ 2005-04-18 2:08 Adrian Bunk
2005-04-22 21:14 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-04-18 2:08 UTC (permalink / raw)
To: Luca Risolia; +Cc: linux-usb-devel, gregkh, linux-kernel
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] drivers/usb/media/sn9c102_core.c: make 2 functions static
2005-04-18 2:08 [2.6 patch] drivers/usb/media/sn9c102_core.c: make 2 functions static Adrian Bunk
@ 2005-04-22 21:14 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2005-04-22 21:14 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Luca Risolia, linux-usb-devel, gregkh, linux-kernel
On Mon, Apr 18, 2005 at 04:08:48AM +0200, Adrian Bunk wrote:
> This patch makes two needlessly global functions static.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Applied, thanks.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-22 21:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-18 2:08 [2.6 patch] drivers/usb/media/sn9c102_core.c: make 2 functions static Adrian Bunk
2005-04-22 21:14 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).