Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306407
b: refs/heads/master
c: 60332f0
h: refs/heads/master
i:
  306405: 3ceb45e
  306403: 9016ec9
  306399: 1f415d4
v: v3
  • Loading branch information
Ezequiel Garcia authored and Mauro Carvalho Chehab committed May 14, 2012
1 parent 18bfc50 commit ac9beca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 152a3a7320d1582009db85d8be365ce430d079af
refs/heads/master: 60332f033d4c8655e0afcea932e16d44646e82bf
6 changes: 4 additions & 2 deletions trunk/drivers/media/video/em28xx/em28xx-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ struct em28xx_hash_table {
unsigned int tuner;
};

static void em28xx_pre_card_setup(struct em28xx *dev);

/*
* Reset sequences for analog/digital modes
*/
Expand Down Expand Up @@ -2361,7 +2363,7 @@ static int em28xx_hint_sensor(struct em28xx *dev)
/* Since em28xx_pre_card_setup() requires a proper dev->model,
* this won't work for boards with generic PCI IDs
*/
void em28xx_pre_card_setup(struct em28xx *dev)
static void em28xx_pre_card_setup(struct em28xx *dev)
{
/* Set the initial XCLK and I2C clock values based on the board
definition */
Expand Down Expand Up @@ -2661,7 +2663,7 @@ static int em28xx_hint_board(struct em28xx *dev)
return -1;
}

void em28xx_card_setup(struct em28xx *dev)
static void em28xx_card_setup(struct em28xx *dev)
{
/*
* If the device can be a webcam, seek for a sensor.
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/media/video/em28xx/em28xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,6 @@ void em28xx_release_analog_resources(struct em28xx *dev);

/* Provided by em28xx-cards.c */
extern int em2800_variant_detect(struct usb_device *udev, int model);
extern void em28xx_pre_card_setup(struct em28xx *dev);
extern void em28xx_card_setup(struct em28xx *dev);
extern struct em28xx_board em28xx_boards[];
extern struct usb_device_id em28xx_id_table[];
extern const unsigned int em28xx_bcount;
Expand Down

0 comments on commit ac9beca

Please sign in to comment.