aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx
diff options
context:
space:
mode:
authorRicardo Cerqueira <rmcc@linuxtv.org>2006-05-18 11:19:57 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:00:30 -0400
commit6daa4f86e9a01da6296f4c2bf40f8180a22718a8 (patch)
treeb4dbf2846082e5c39681a625aff37572923c2f05 /drivers/media/video/bt8xx
parentb93eedb62e358588c5e595b07fb85efa1f597a9f (diff)
V4L/DVB (4026): Bttv-gpio-irq is no longer used, remove it
This functionality was used when remote control input for BTTV was handled by a standalone module, to hook some functions of that module into the main bttv core. Since that module is now extinct, this can go away Signed-off-by: Ricardo Cerqueira <rmcc@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bt8xx')
-rw-r--r--drivers/media/video/bt8xx/bttv-gpio.c14
-rw-r--r--drivers/media/video/bt8xx/bttv.h1
-rw-r--r--drivers/media/video/bt8xx/bttvp.h1
3 files changed, 0 insertions, 16 deletions
diff --git a/drivers/media/video/bt8xx/bttv-gpio.c b/drivers/media/video/bt8xx/bttv-gpio.c
index c4d5e2b70c28..ba081f6f8c82 100644
--- a/drivers/media/video/bt8xx/bttv-gpio.c
+++ b/drivers/media/video/bt8xx/bttv-gpio.c
@@ -118,20 +118,6 @@ int bttv_sub_del_devices(struct bttv_core *core)
118 return 0; 118 return 0;
119} 119}
120 120
121void bttv_gpio_irq(struct bttv_core *core)
122{
123 struct bttv_sub_driver *drv;
124 struct bttv_sub_device *dev;
125 struct list_head *item;
126
127 list_for_each(item,&core->subs) {
128 dev = list_entry(item,struct bttv_sub_device,list);
129 drv = to_bttv_sub_drv(dev->dev.driver);
130 if (drv && drv->gpio_irq)
131 drv->gpio_irq(dev);
132 }
133}
134
135/* ----------------------------------------------------------------------- */ 121/* ----------------------------------------------------------------------- */
136/* external: sub-driver register/unregister */ 122/* external: sub-driver register/unregister */
137 123
diff --git a/drivers/media/video/bt8xx/bttv.h b/drivers/media/video/bt8xx/bttv.h
index 3a23265c1538..f9c9e3c4d111 100644
--- a/drivers/media/video/bt8xx/bttv.h
+++ b/drivers/media/video/bt8xx/bttv.h
@@ -350,7 +350,6 @@ struct bttv_sub_driver {
350 char wanted[BUS_ID_SIZE]; 350 char wanted[BUS_ID_SIZE];
351 int (*probe)(struct bttv_sub_device *sub); 351 int (*probe)(struct bttv_sub_device *sub);
352 void (*remove)(struct bttv_sub_device *sub); 352 void (*remove)(struct bttv_sub_device *sub);
353 void (*gpio_irq)(struct bttv_sub_device *sub);
354}; 353};
355#define to_bttv_sub_drv(x) container_of((x), struct bttv_sub_driver, drv) 354#define to_bttv_sub_drv(x) container_of((x), struct bttv_sub_driver, drv)
356 355
diff --git a/drivers/media/video/bt8xx/bttvp.h b/drivers/media/video/bt8xx/bttvp.h
index ee989d2e15d9..4183a21cf161 100644
--- a/drivers/media/video/bt8xx/bttvp.h
+++ b/drivers/media/video/bt8xx/bttvp.h
@@ -214,7 +214,6 @@ extern struct videobuf_queue_ops bttv_vbi_qops;
214extern struct bus_type bttv_sub_bus_type; 214extern struct bus_type bttv_sub_bus_type;
215int bttv_sub_add_device(struct bttv_core *core, char *name); 215int bttv_sub_add_device(struct bttv_core *core, char *name);
216int bttv_sub_del_devices(struct bttv_core *core); 216int bttv_sub_del_devices(struct bttv_core *core);
217void bttv_gpio_irq(struct bttv_core *core);
218 217
219 218
220/* ---------------------------------------------------------- */ 219/* ---------------------------------------------------------- */