diff options
author | Andreas Oberritter <devnull@localhost> | 2005-03-10 00:29:52 +0000 |
---|---|---|
committer | Andreas Oberritter <devnull@localhost> | 2005-03-10 00:29:52 +0000 |
commit | e6c4e7e6fb92c8932e54599640f25f549482d305 (patch) | |
tree | 16a4bdd6de91e4a8d620065ef3135ba92b1bfb0b /linux/drivers/media/dvb | |
parent | 20bc1a33c1c2d67aa8fad05533bfa995d4626e4f (diff) | |
download | mediapointer-dvb-s2-e6c4e7e6fb92c8932e54599640f25f549482d305.tar.gz mediapointer-dvb-s2-e6c4e7e6fb92c8932e54599640f25f549482d305.tar.bz2 |
removed useless ifdef: dvb_register_adapter always takes 3 parameters in this tree
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c index 17b2a2f6e..f71e16007 100644 --- a/linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c +++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c @@ -125,12 +125,8 @@ int dibusb_dvb_init(struct usb_dibusb *dib) urb_compl_count = 0; -#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,4) - if ((ret = dvb_register_adapter(&dib->adapter, DRIVER_DESC)) < 0) { -#else - if ((ret = dvb_register_adapter(&dib->adapter, DRIVER_DESC , + if ((ret = dvb_register_adapter(&dib->adapter, DRIVER_DESC, THIS_MODULE)) < 0) { -#endif deb_info("dvb_register_adapter failed: error %d", ret); goto err; } |