summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/stk-webcam.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-02-19 19:29:08 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-19 19:29:08 +0000
commit402a10366abb147b04f30f6d6eab06a4479a2a52 (patch)
tree61a2ba50d75f2fc7b4ed41d9c726c500bf4558ac /linux/drivers/media/video/stk-webcam.c
parent23d271bea2b77095cc79f0c7356d7e1131bcaeae (diff)
downloadmediapointer-dvb-s2-402a10366abb147b04f30f6d6eab06a4479a2a52.tar.gz
mediapointer-dvb-s2-402a10366abb147b04f30f6d6eab06a4479a2a52.tar.bz2
make stk_camera_{suspend,resume}() static
From: Adrian Bunk <bunk@kernel.org> This patch makes the needlessly global stk_camera_{suspend,resume}() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/stk-webcam.c')
-rw-r--r--linux/drivers/media/video/stk-webcam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/stk-webcam.c b/linux/drivers/media/video/stk-webcam.c
index 589b6aec9..015f6a53f 100644
--- a/linux/drivers/media/video/stk-webcam.c
+++ b/linux/drivers/media/video/stk-webcam.c
@@ -1466,7 +1466,7 @@ static void stk_camera_disconnect(struct usb_interface *interface)
}
#ifdef CONFIG_PM
-int stk_camera_suspend(struct usb_interface *intf, pm_message_t message)
+static int stk_camera_suspend(struct usb_interface *intf, pm_message_t message)
{
struct stk_camera *dev = usb_get_intfdata(intf);
if (is_streaming(dev)) {
@@ -1477,7 +1477,7 @@ int stk_camera_suspend(struct usb_interface *intf, pm_message_t message)
return 0;
}
-int stk_camera_resume(struct usb_interface *intf)
+static int stk_camera_resume(struct usb_interface *intf)
{
struct stk_camera *dev = usb_get_intfdata(intf);
if (!is_initialised(dev))