aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pwc/pwc-ctrl.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-06-23 05:49:34 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:13 -0400
commitb20c3cf0c225df1445fa220de175b8d9bc1c3659 (patch)
tree8b0495c4d9e16473b5effa14a03a959f14254a52 /drivers/media/video/pwc/pwc-ctrl.c
parentdc46ace15e50cb8af3f3072c00aaf3429770b0e2 (diff)
V4L/DVB (4147): Drivers/media/video/pwc/: make code static
This patch makes the following needlessly global code static: - pwc-ctrl.c: pwc_get_leds() - pwc_preferred_compression Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pwc/pwc-ctrl.c')
-rw-r--r--drivers/media/video/pwc/pwc-ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pwc/pwc-ctrl.c b/drivers/media/video/pwc/pwc-ctrl.c
index 62a581399b19..0bd115588f31 100644
--- a/drivers/media/video/pwc/pwc-ctrl.c
+++ b/drivers/media/video/pwc/pwc-ctrl.c
@@ -925,7 +925,7 @@ int pwc_set_leds(struct pwc_device *pdev, int on_value, int off_value)
925 return SendControlMsg(SET_STATUS_CTL, LED_FORMATTER, 2); 925 return SendControlMsg(SET_STATUS_CTL, LED_FORMATTER, 2);
926} 926}
927 927
928int pwc_get_leds(struct pwc_device *pdev, int *on_value, int *off_value) 928static int pwc_get_leds(struct pwc_device *pdev, int *on_value, int *off_value)
929{ 929{
930 unsigned char buf[2]; 930 unsigned char buf[2];
931 int ret; 931 int ret;