From e9314ad63401c89bffe82b165eb7ae630c05a75d Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Tue, 8 Jul 2008 17:40:58 +0200 Subject: v4l-dvb: remove support for kernels < 2.6.16 From: Hans Verkuil Phase 4 removes the compatibility support for kernels < 2.6.16. Signed-off-by: Hans Verkuil --- linux/drivers/media/video/bt8xx/bttv-gpio.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'linux/drivers/media/video/bt8xx/bttv-gpio.c') diff --git a/linux/drivers/media/video/bt8xx/bttv-gpio.c b/linux/drivers/media/video/bt8xx/bttv-gpio.c index 9b161b8dd..dce6dae57 100644 --- a/linux/drivers/media/video/bt8xx/bttv-gpio.c +++ b/linux/drivers/media/video/bt8xx/bttv-gpio.c @@ -47,7 +47,6 @@ static int bttv_sub_bus_match(struct device *dev, struct device_driver *drv) return 0; } -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) static int bttv_sub_probe(struct device *dev) { struct bttv_sub_device *sdev = to_bttv_sub_dev(dev); @@ -66,17 +65,11 @@ static int bttv_sub_remove(struct device *dev) return 0; } -#endif struct bus_type bttv_sub_bus_type = { -#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15) - .name = "bttv-sub", - .match = &bttv_sub_bus_match, -#else .name = "bttv-sub", .match = &bttv_sub_bus_match, .probe = bttv_sub_probe, .remove = bttv_sub_remove, -#endif }; static void release_sub_device(struct device *dev) -- cgit v1.2.3