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/au0828/au0828-core.c | 5 ----- linux/drivers/media/video/au0828/au0828.h | 8 -------- 2 files changed, 13 deletions(-) (limited to 'linux/drivers/media/video/au0828') diff --git a/linux/drivers/media/video/au0828/au0828-core.c b/linux/drivers/media/video/au0828/au0828-core.c index 5642058ae..123422f82 100644 --- a/linux/drivers/media/video/au0828/au0828-core.c +++ b/linux/drivers/media/video/au0828/au0828-core.c @@ -23,9 +23,7 @@ #include #include #include "compat.h" -#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 15) #include -#endif #include "au0828.h" @@ -218,9 +216,6 @@ static struct usb_driver au0828_usb_driver = { .probe = au0828_usb_probe, .disconnect = au0828_usb_disconnect, .id_table = au0828_usb_id_table, -#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 15) - .owner = THIS_MODULE, -#endif }; static int __init au0828_init(void) diff --git a/linux/drivers/media/video/au0828/au0828.h b/linux/drivers/media/video/au0828/au0828.h index b00d8cda5..7beb57179 100644 --- a/linux/drivers/media/video/au0828/au0828.h +++ b/linux/drivers/media/video/au0828/au0828.h @@ -44,11 +44,7 @@ struct au0828_board { }; struct au0828_dvb { -#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 15) struct mutex lock; -#else - struct semaphore lock; -#endif struct dvb_adapter adapter; struct dvb_frontend *frontend; struct dvb_demux demux; @@ -60,11 +56,7 @@ struct au0828_dvb { }; struct au0828_dev { -#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 15) struct mutex mutex; -#else - struct semaphore mutex; -#endif struct usb_device *usbdev; int board; u8 ctrlmsg[64]; -- cgit v1.2.3