LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] make stk_camera_{suspend,resume}() static
@ 2008-02-19 19:29 Adrian Bunk
2008-02-20 16:28 ` Jaime Velasco Juan
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-02-19 19:29 UTC (permalink / raw)
To: Jaime Velasco Juan, Mauro Carvalho Chehab
Cc: linux-kernel, v4l-dvb-maintainer
This patch makes the needlessly global stk_camera_{suspend,resume}()
static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
drivers/media/video/stk-webcam.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
0142ed9da391bdcb89b8f029aaf7909a73bf4e20 diff --git a/drivers/media/video/stk-webcam.c b/drivers/media/video/stk-webcam.c
index ceba45a..d2bf541 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)
}
#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)) {
@@ -1476,7 +1476,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))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] make stk_camera_{suspend,resume}() static
2008-02-19 19:29 [2.6 patch] make stk_camera_{suspend,resume}() static Adrian Bunk
@ 2008-02-20 16:28 ` Jaime Velasco Juan
0 siblings, 0 replies; 2+ messages in thread
From: Jaime Velasco Juan @ 2008-02-20 16:28 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Mauro Carvalho Chehab, linux-kernel, v4l-dvb-maintainer
El mar. 19 de feb. de 2008, a las 21:29:08 +0200, Adrian Bunk escribió:
> 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>
thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-20 16:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-19 19:29 [2.6 patch] make stk_camera_{suspend,resume}() static Adrian Bunk
2008-02-20 16:28 ` Jaime Velasco Juan
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).