2008-01-28 22:14:32

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] make stk_camera_cleanup() static

stk_camera_cleanup() can become static.

Signed-off-by: Adrian Bunk <[email protected]>

---
8e9cfe740957a7a486df202d65cedc1a86d62f96
diff --git a/drivers/media/video/stk-webcam.c b/drivers/media/video/stk-webcam.c
index d37e5e2..a4bfc06 100644
--- a/drivers/media/video/stk-webcam.c
+++ b/drivers/media/video/stk-webcam.c
@@ -63,7 +63,7 @@ static struct usb_device_id stkwebcam_table[] = {
};
MODULE_DEVICE_TABLE(usb, stkwebcam_table);

-void stk_camera_cleanup(struct kref *kref)
+static void stk_camera_cleanup(struct kref *kref)
{
struct stk_camera *dev = to_stk_camera(kref);


2008-01-29 17:11:29

by Jaime Velasco Juan

[permalink] [raw]
Subject: Re: [2.6 patch] make stk_camera_cleanup() static

El mar. 29 de ene. de 2008, a las 00:11:01 +0200, Adrian Bunk escribió:
> stk_camera_cleanup() can become static.
>
> Signed-off-by: Adrian Bunk <[email protected]>
>
Acked-by: Jaime Velasco Juan <[email protected]>