Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / drivers / media / video / bt8xx / bttv-gpio.c
index ba081f6..c4d5e2b 100644 (file)
@@ -118,6 +118,20 @@ 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                                */