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>
This commit is contained in:
parent
63fc4a038d
commit
903e10aa66
@ -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
|
||||
* (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_host_endpoint *ep;
|
||||
|
@ -27,9 +27,6 @@
|
||||
|
||||
#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_DESCRIPTION("Pixart PAC207");
|
||||
MODULE_LICENSE("GPL");
|
||||
@ -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;
|
||||
int err;
|
||||
@ -223,8 +220,7 @@ int pac207_write_reg(struct gspca_dev *gspca_dev, u16 index, u16 value)
|
||||
return err;
|
||||
}
|
||||
|
||||
|
||||
int pac207_read_reg(struct gspca_dev *gspca_dev, u16 index)
|
||||
static int pac207_read_reg(struct gspca_dev *gspca_dev, u16 index)
|
||||
{
|
||||
struct usb_device *udev = gspca_dev->dev;
|
||||
int res;
|
||||
@ -609,7 +605,7 @@ static int __init sd_mod_init(void)
|
||||
{
|
||||
if (usb_register(&sd_driver) < 0)
|
||||
return -1;
|
||||
PDEBUG(D_PROBE, "v%s registered", version);
|
||||
PDEBUG(D_PROBE, "registered");
|
||||
return 0;
|
||||
}
|
||||
static void __exit sd_mod_exit(void)
|
||||
|
Loading…
Reference in New Issue
Block a user