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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
b93eedb62e
commit
6daa4f86e9
@@ -118,20 +118,6 @@ int bttv_sub_del_devices(struct bttv_core *core)
|
|||||||
return 0;
|
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 */
|
/* external: sub-driver register/unregister */
|
||||||
|
|
||||||
|
@@ -350,7 +350,6 @@ struct bttv_sub_driver {
|
|||||||
char wanted[BUS_ID_SIZE];
|
char wanted[BUS_ID_SIZE];
|
||||||
int (*probe)(struct bttv_sub_device *sub);
|
int (*probe)(struct bttv_sub_device *sub);
|
||||||
void (*remove)(struct bttv_sub_device *sub);
|
void (*remove)(struct bttv_sub_device *sub);
|
||||||
void (*gpio_irq)(struct bttv_sub_device *sub);
|
|
||||||
};
|
};
|
||||||
#define to_bttv_sub_drv(x) container_of((x), struct bttv_sub_driver, drv)
|
#define to_bttv_sub_drv(x) container_of((x), struct bttv_sub_driver, drv)
|
||||||
|
|
||||||
|
@@ -214,7 +214,6 @@ extern struct videobuf_queue_ops bttv_vbi_qops;
|
|||||||
extern struct bus_type bttv_sub_bus_type;
|
extern struct bus_type bttv_sub_bus_type;
|
||||||
int bttv_sub_add_device(struct bttv_core *core, char *name);
|
int bttv_sub_add_device(struct bttv_core *core, char *name);
|
||||||
int bttv_sub_del_devices(struct bttv_core *core);
|
int bttv_sub_del_devices(struct bttv_core *core);
|
||||||
void bttv_gpio_irq(struct bttv_core *core);
|
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------- */
|
/* ---------------------------------------------------------- */
|
||||||
|
Reference in New Issue
Block a user