Commit 903e10aa authored by Adrian Bunk's avatar Adrian Bunk Committed by Mauro Carvalho Chehab

V4L/DVB (8440): gspca: Makes some needlessly global functions static.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 63fc4a03
...@@ -399,7 +399,7 @@ static struct usb_host_endpoint *alt_isoc(struct usb_host_interface *alt, ...@@ -399,7 +399,7 @@ static struct usb_host_endpoint *alt_isoc(struct usb_host_interface *alt,
* This routine may be called many times when the bandwidth is too small * This routine may be called many times when the bandwidth is too small
* (the bandwidth is checked on urb submit). * (the bandwidth is checked on urb submit).
*/ */
struct usb_host_endpoint *get_isoc_ep(struct gspca_dev *gspca_dev) static struct usb_host_endpoint *get_isoc_ep(struct gspca_dev *gspca_dev)
{ {
struct usb_interface *intf; struct usb_interface *intf;
struct usb_host_endpoint *ep; struct usb_host_endpoint *ep;
......
...@@ -27,9 +27,6 @@ ...@@ -27,9 +27,6 @@
#include "gspca.h" #include "gspca.h"
#define DRIVER_VERSION_NUMBER KERNEL_VERSION(2, 1, 7)
static const char version[] = "2.1.7";
MODULE_AUTHOR("Hans de Goede <j.w.r.degoede@hhs.nl>"); MODULE_AUTHOR("Hans de Goede <j.w.r.degoede@hhs.nl>");
MODULE_DESCRIPTION("Pixart PAC207"); MODULE_DESCRIPTION("Pixart PAC207");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -208,7 +205,7 @@ static int pac207_write_regs(struct gspca_dev *gspca_dev, u16 index, ...@@ -208,7 +205,7 @@ static int pac207_write_regs(struct gspca_dev *gspca_dev, u16 index,
} }
int pac207_write_reg(struct gspca_dev *gspca_dev, u16 index, u16 value) static int pac207_write_reg(struct gspca_dev *gspca_dev, u16 index, u16 value)
{ {
struct usb_device *udev = gspca_dev->dev; struct usb_device *udev = gspca_dev->dev;
int err; int err;
...@@ -223,8 +220,7 @@ int pac207_write_reg(struct gspca_dev *gspca_dev, u16 index, u16 value) ...@@ -223,8 +220,7 @@ int pac207_write_reg(struct gspca_dev *gspca_dev, u16 index, u16 value)
return err; return err;
} }
static int pac207_read_reg(struct gspca_dev *gspca_dev, u16 index)
int pac207_read_reg(struct gspca_dev *gspca_dev, u16 index)
{ {
struct usb_device *udev = gspca_dev->dev; struct usb_device *udev = gspca_dev->dev;
int res; int res;
...@@ -609,7 +605,7 @@ static int __init sd_mod_init(void) ...@@ -609,7 +605,7 @@ static int __init sd_mod_init(void)
{ {
if (usb_register(&sd_driver) < 0) if (usb_register(&sd_driver) < 0)
return -1; return -1;
PDEBUG(D_PROBE, "v%s registered", version); PDEBUG(D_PROBE, "registered");
return 0; return 0;
} }
static void __exit sd_mod_exit(void) static void __exit sd_mod_exit(void)
......
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