aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/stk-webcam.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-22 13:42:13 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:44 -0400
commit4d34dccd5e8af3db8dbb594d6cd1ea74446dbf20 (patch)
tree809d17dfb27471ba0cd5f0c4924ad47266e70e9e /drivers/media/video/stk-webcam.c
parent0705135e59f8503e4dade4b3580fed77b1743b7c (diff)
V4L/DVB (7238): make stk_camera_{suspend,resume}() static
This patch makes the needlessly global stk_camera_{suspend,resume}() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Jaime Velasco Juan <jsagarribay@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/stk-webcam.c')
-rw-r--r--drivers/media/video/stk-webcam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/stk-webcam.c b/drivers/media/video/stk-webcam.c
index ceba45ad0294..d2bf54194b63 100644
--- a/drivers/media/video/stk-webcam.c
+++ b/drivers/media/video/stk-webcam.c
@@ -1465,7 +1465,7 @@ static void stk_camera_disconnect(struct usb_interface *interface)
1465} 1465}
1466 1466
1467#ifdef CONFIG_PM 1467#ifdef CONFIG_PM
1468int stk_camera_suspend(struct usb_interface *intf, pm_message_t message) 1468static int stk_camera_suspend(struct usb_interface *intf, pm_message_t message)
1469{ 1469{
1470 struct stk_camera *dev = usb_get_intfdata(intf); 1470 struct stk_camera *dev = usb_get_intfdata(intf);
1471 if (is_streaming(dev)) { 1471 if (is_streaming(dev)) {
@@ -1476,7 +1476,7 @@ int stk_camera_suspend(struct usb_interface *intf, pm_message_t message)
1476 return 0; 1476 return 0;
1477} 1477}
1478 1478
1479int stk_camera_resume(struct usb_interface *intf) 1479static int stk_camera_resume(struct usb_interface *intf)
1480{ 1480{
1481 struct stk_camera *dev = usb_get_intfdata(intf); 1481 struct stk_camera *dev = usb_get_intfdata(intf);
1482 if (!is_initialised(dev)) 1482 if (!is_initialised(dev))