Skip to content

Commit

Permalink
V4L/DVB (10107): More than one driver defines the same var name (dump…
Browse files Browse the repository at this point in the history
…_bridge). Add

"static" on stv06xx for all static functions and parameters to avoid
such troubles.

Cc: Erik Andren <erik.andren@gmail.com>
Cc: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 30, 2008
1 parent dd9e7c3 commit 8a787b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/video/gspca/stv06xx/stv06xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ MODULE_AUTHOR("Erik Andrén");
MODULE_DESCRIPTION("STV06XX USB Camera Driver");
MODULE_LICENSE("GPL");

int dump_bridge;
int dump_sensor;
static int dump_bridge;
static int dump_sensor;

int stv06xx_write_bridge(struct sd *sd, u16 address, u16 i2c_data)
{
Expand Down Expand Up @@ -476,7 +476,7 @@ static int sd_probe(struct usb_interface *intf,
THIS_MODULE);
}

void sd_disconnect(struct usb_interface *intf)
static void sd_disconnect(struct usb_interface *intf)
{
struct gspca_dev *gspca_dev = usb_get_intfdata(intf);
struct sd *sd = (struct sd *) gspca_dev;
Expand Down

0 comments on commit 8a787b4

Please sign in to comment.