diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-18 17:34:31 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:09:42 -0400 |
commit | e54318e5a41cfe10325ae2f817d337beb84e79aa (patch) | |
tree | 40a9bbd26ff7e21743e3dc2446c5e1bd018b2213 | |
parent | e9888a1330402050e596b2553e7009fe371c42be (diff) |
V4L/DVB (7618): em28xx: make some symbols static
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 9 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx.h | 1 |
2 files changed, 4 insertions, 6 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 13ffde281067..93a7176f9cd1 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -435,14 +435,14 @@ MODULE_DEVICE_TABLE(usb, em28xx_id_table); | |||
435 | */ | 435 | */ |
436 | 436 | ||
437 | /* Board Hauppauge WinTV HVR 900 analog */ | 437 | /* Board Hauppauge WinTV HVR 900 analog */ |
438 | struct em28xx_reg_seq hauppauge_wintv_hvr_900_analog[] = { | 438 | static struct em28xx_reg_seq hauppauge_wintv_hvr_900_analog[] = { |
439 | {EM28XX_R08_GPIO, 0x2d, ~EM_GPIO_4, 10}, | 439 | {EM28XX_R08_GPIO, 0x2d, ~EM_GPIO_4, 10}, |
440 | {0x05, 0xff, 0x10, 10}, | 440 | {0x05, 0xff, 0x10, 10}, |
441 | { -1, -1, -1, -1}, | 441 | { -1, -1, -1, -1}, |
442 | }; | 442 | }; |
443 | 443 | ||
444 | /* Board Hauppauge WinTV HVR 900 digital */ | 444 | /* Board Hauppauge WinTV HVR 900 digital */ |
445 | struct em28xx_reg_seq hauppauge_wintv_hvr_900_digital[] = { | 445 | static struct em28xx_reg_seq hauppauge_wintv_hvr_900_digital[] = { |
446 | {EM28XX_R08_GPIO, 0x2e, ~EM_GPIO_4, 10}, | 446 | {EM28XX_R08_GPIO, 0x2e, ~EM_GPIO_4, 10}, |
447 | {EM2880_R04_GPO, 0x04, 0x0f, 10}, | 447 | {EM2880_R04_GPO, 0x04, 0x0f, 10}, |
448 | {EM2880_R04_GPO, 0x0c, 0x0f, 10}, | 448 | {EM2880_R04_GPO, 0x0c, 0x0f, 10}, |
@@ -450,7 +450,7 @@ struct em28xx_reg_seq hauppauge_wintv_hvr_900_digital[] = { | |||
450 | }; | 450 | }; |
451 | 451 | ||
452 | /* Board Hauppauge WinTV HVR 900 tuner_callback */ | 452 | /* Board Hauppauge WinTV HVR 900 tuner_callback */ |
453 | struct em28xx_reg_seq hauppauge_wintv_hvr_900_tuner_callback[] = { | 453 | static struct em28xx_reg_seq hauppauge_wintv_hvr_900_tuner_callback[] = { |
454 | {EM28XX_R08_GPIO, EM_GPIO_4, EM_GPIO_4, 10}, | 454 | {EM28XX_R08_GPIO, EM_GPIO_4, EM_GPIO_4, 10}, |
455 | {EM28XX_R08_GPIO, 0, EM_GPIO_4, 10}, | 455 | {EM28XX_R08_GPIO, 0, EM_GPIO_4, 10}, |
456 | {EM28XX_R08_GPIO, EM_GPIO_4, EM_GPIO_4, 10}, | 456 | {EM28XX_R08_GPIO, EM_GPIO_4, EM_GPIO_4, 10}, |
@@ -554,7 +554,7 @@ void em28xx_pre_card_setup(struct em28xx *dev) | |||
554 | em28xx_set_mode(dev, EM28XX_MODE_UNDEFINED); | 554 | em28xx_set_mode(dev, EM28XX_MODE_UNDEFINED); |
555 | } | 555 | } |
556 | 556 | ||
557 | void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl) | 557 | static void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl) |
558 | { | 558 | { |
559 | memset(ctl, 0, sizeof(*ctl)); | 559 | memset(ctl, 0, sizeof(*ctl)); |
560 | 560 | ||
@@ -571,7 +571,6 @@ void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl) | |||
571 | ctl->demod = XC3028_FE_OREN538; | 571 | ctl->demod = XC3028_FE_OREN538; |
572 | } | 572 | } |
573 | } | 573 | } |
574 | EXPORT_SYMBOL_GPL(em28xx_setup_xc3028); | ||
575 | 574 | ||
576 | static void em28xx_config_tuner(struct em28xx *dev) | 575 | static void em28xx_config_tuner(struct em28xx *dev) |
577 | { | 576 | { |
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h index e0d119c22810..002f170b211a 100644 --- a/drivers/media/video/em28xx/em28xx.h +++ b/drivers/media/video/em28xx/em28xx.h | |||
@@ -474,7 +474,6 @@ extern struct usb_device_id em28xx_id_table[]; | |||
474 | extern const unsigned int em28xx_bcount; | 474 | extern const unsigned int em28xx_bcount; |
475 | void em28xx_set_ir(struct em28xx *dev, struct IR_i2c *ir); | 475 | void em28xx_set_ir(struct em28xx *dev, struct IR_i2c *ir); |
476 | int em28xx_tuner_callback(void *ptr, int command, int arg); | 476 | int em28xx_tuner_callback(void *ptr, int command, int arg); |
477 | void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl); | ||
478 | 477 | ||
479 | /* Provided by em28xx-input.c */ | 478 | /* Provided by em28xx-input.c */ |
480 | /* TODO: Check if the standard get_key handlers on ir-common can be used */ | 479 | /* TODO: Check if the standard get_key handlers on ir-common can be used */ |