diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-22 01:35:05 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-23 18:00:37 -0400 |
commit | 903e10aa664473ce19c30c0f80ffd7bbbbd8fc33 (patch) | |
tree | 1d3c99d04400174937c793b42b57fdb49669a98a /drivers/media/video/gspca/pac207.c | |
parent | 63fc4a038d8ca5e2da8c14c01b16876685beacf4 (diff) |
V4L/DVB (8440): gspca: Makes some needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/gspca/pac207.c')
-rw-r--r-- | drivers/media/video/gspca/pac207.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/media/video/gspca/pac207.c b/drivers/media/video/gspca/pac207.c index fa7abc411090..f790746370d7 100644 --- a/drivers/media/video/gspca/pac207.c +++ b/drivers/media/video/gspca/pac207.c | |||
@@ -27,9 +27,6 @@ | |||
27 | 27 | ||
28 | #include "gspca.h" | 28 | #include "gspca.h" |
29 | 29 | ||
30 | #define DRIVER_VERSION_NUMBER KERNEL_VERSION(2, 1, 7) | ||
31 | static const char version[] = "2.1.7"; | ||
32 | |||
33 | MODULE_AUTHOR("Hans de Goede <j.w.r.degoede@hhs.nl>"); | 30 | MODULE_AUTHOR("Hans de Goede <j.w.r.degoede@hhs.nl>"); |
34 | MODULE_DESCRIPTION("Pixart PAC207"); | 31 | MODULE_DESCRIPTION("Pixart PAC207"); |
35 | MODULE_LICENSE("GPL"); | 32 | MODULE_LICENSE("GPL"); |
@@ -208,7 +205,7 @@ static int pac207_write_regs(struct gspca_dev *gspca_dev, u16 index, | |||
208 | } | 205 | } |
209 | 206 | ||
210 | 207 | ||
211 | int pac207_write_reg(struct gspca_dev *gspca_dev, u16 index, u16 value) | 208 | static int pac207_write_reg(struct gspca_dev *gspca_dev, u16 index, u16 value) |
212 | { | 209 | { |
213 | struct usb_device *udev = gspca_dev->dev; | 210 | struct usb_device *udev = gspca_dev->dev; |
214 | int err; | 211 | int err; |
@@ -223,8 +220,7 @@ int pac207_write_reg(struct gspca_dev *gspca_dev, u16 index, u16 value) | |||
223 | return err; | 220 | return err; |
224 | } | 221 | } |
225 | 222 | ||
226 | 223 | static int pac207_read_reg(struct gspca_dev *gspca_dev, u16 index) | |
227 | int pac207_read_reg(struct gspca_dev *gspca_dev, u16 index) | ||
228 | { | 224 | { |
229 | struct usb_device *udev = gspca_dev->dev; | 225 | struct usb_device *udev = gspca_dev->dev; |
230 | int res; | 226 | int res; |
@@ -609,7 +605,7 @@ static int __init sd_mod_init(void) | |||
609 | { | 605 | { |
610 | if (usb_register(&sd_driver) < 0) | 606 | if (usb_register(&sd_driver) < 0) |
611 | return -1; | 607 | return -1; |
612 | PDEBUG(D_PROBE, "v%s registered", version); | 608 | PDEBUG(D_PROBE, "registered"); |
613 | return 0; | 609 | return 0; |
614 | } | 610 | } |
615 | static void __exit sd_mod_exit(void) | 611 | static void __exit sd_mod_exit(void) |