diff options
author | Ricardo Cerqueira <rmcc@linuxtv.org> | 2006-05-18 16:19:57 +0100 |
---|---|---|
committer | Ricardo Cerqueira <rmcc@linuxtv.org> | 2006-05-18 16:19:57 +0100 |
commit | f40e092350ab797c7d40bb399d287a20a1f4f649 (patch) | |
tree | 74695e4e30e3e447d7faac321b8eb8b930df7d9e /linux/drivers | |
parent | aad2e973e44590acd4c1b55dd32eadad842e7fdb (diff) | |
download | mediapointer-dvb-s2-f40e092350ab797c7d40bb399d287a20a1f4f649.tar.gz mediapointer-dvb-s2-f40e092350ab797c7d40bb399d287a20a1f4f649.tar.bz2 |
bttv-gpio-irq is no longer used, remove it
From: Ricardo Cerqueira <rmcc@linuxtv.org>
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>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/bt8xx/bttv-gpio.c | 14 | ||||
-rw-r--r-- | linux/drivers/media/video/bt8xx/bttv.h | 1 | ||||
-rw-r--r-- | linux/drivers/media/video/bt8xx/bttvp.h | 1 |
3 files changed, 0 insertions, 16 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-gpio.c b/linux/drivers/media/video/bt8xx/bttv-gpio.c index b6eb7eea9..c5ed2f567 100644 --- a/linux/drivers/media/video/bt8xx/bttv-gpio.c +++ b/linux/drivers/media/video/bt8xx/bttv-gpio.c @@ -125,20 +125,6 @@ int bttv_sub_del_devices(struct bttv_core *core) return 0; } -void bttv_gpio_irq(struct bttv_core *core) -{ - struct bttv_sub_driver *drv; - struct bttv_sub_device *dev; - struct list_head *item; - - list_for_each(item,&core->subs) { - dev = list_entry(item,struct bttv_sub_device,list); - drv = to_bttv_sub_drv(dev->dev.driver); - if (drv && drv->gpio_irq) - drv->gpio_irq(dev); - } -} - /* ----------------------------------------------------------------------- */ /* external: sub-driver register/unregister */ diff --git a/linux/drivers/media/video/bt8xx/bttv.h b/linux/drivers/media/video/bt8xx/bttv.h index 88b72b8a3..2352ca526 100644 --- a/linux/drivers/media/video/bt8xx/bttv.h +++ b/linux/drivers/media/video/bt8xx/bttv.h @@ -360,7 +360,6 @@ struct bttv_sub_driver { int (*probe)(struct bttv_sub_device *sub); void (*remove)(struct bttv_sub_device *sub); #endif - void (*gpio_irq)(struct bttv_sub_device *sub); }; #define to_bttv_sub_drv(x) container_of((x), struct bttv_sub_driver, drv) diff --git a/linux/drivers/media/video/bt8xx/bttvp.h b/linux/drivers/media/video/bt8xx/bttvp.h index 70158aa5f..6c41e1e2e 100644 --- a/linux/drivers/media/video/bt8xx/bttvp.h +++ b/linux/drivers/media/video/bt8xx/bttvp.h @@ -224,7 +224,6 @@ extern struct videobuf_queue_ops bttv_vbi_qops; extern struct bus_type bttv_sub_bus_type; int bttv_sub_add_device(struct bttv_core *core, char *name); int bttv_sub_del_devices(struct bttv_core *core); -void bttv_gpio_irq(struct bttv_core *core); #endif |