Commit 4d34dccd authored by Adrian Bunk's avatar Adrian Bunk Committed by Mauro Carvalho Chehab

V4L/DVB (7238): make stk_camera_{suspend,resume}() static

This patch makes the needlessly global stk_camera_{suspend,resume}()
static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarJaime Velasco Juan <jsagarribay@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 0705135e
...@@ -1465,7 +1465,7 @@ static void stk_camera_disconnect(struct usb_interface *interface) ...@@ -1465,7 +1465,7 @@ static void stk_camera_disconnect(struct usb_interface *interface)
} }
#ifdef CONFIG_PM #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); struct stk_camera *dev = usb_get_intfdata(intf);
if (is_streaming(dev)) { if (is_streaming(dev)) {
...@@ -1476,7 +1476,7 @@ int stk_camera_suspend(struct usb_interface *intf, pm_message_t message) ...@@ -1476,7 +1476,7 @@ int stk_camera_suspend(struct usb_interface *intf, pm_message_t message)
return 0; 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); struct stk_camera *dev = usb_get_intfdata(intf);
if (!is_initialised(dev)) if (!is_initialised(dev))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment