summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bttv.h
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2006-01-06 12:42:03 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-13 20:26:11 +0100
commit348290a4ae143a692124330942b464ccdb0d0365 (patch)
tree1fae9909d4d4519c9548b5940be2dca7e31935c2 /drivers/media/video/bttv.h
parent[PATCH] Remove usb gadget generic driver methods (diff)
downloadlinux-348290a4ae143a692124330942b464ccdb0d0365.tar.xz
linux-348290a4ae143a692124330942b464ccdb0d0365.zip
[PATCH] Add bttv sub bus_type probe and remove methods
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/media/video/bttv.h')
-rw-r--r--drivers/media/video/bttv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/bttv.h b/drivers/media/video/bttv.h
index e370d74f2a1b..9908c8e0c951 100644
--- a/drivers/media/video/bttv.h
+++ b/drivers/media/video/bttv.h
@@ -365,6 +365,8 @@ struct bttv_sub_device {
struct bttv_sub_driver {
struct device_driver drv;
char wanted[BUS_ID_SIZE];
+ int (*probe)(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)