summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/usbvideo/konicawc.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/usbvideo/konicawc.c')
-rw-r--r--linux/drivers/media/video/usbvideo/konicawc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/drivers/media/video/usbvideo/konicawc.c b/linux/drivers/media/video/usbvideo/konicawc.c
index 6fef59557..25f9b4286 100644
--- a/linux/drivers/media/video/usbvideo/konicawc.c
+++ b/linux/drivers/media/video/usbvideo/konicawc.c
@@ -244,11 +244,7 @@ static void konicawc_register_input(struct konicawc *cam, struct usb_device *dev
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
input_dev->dev.parent = &dev->dev;
#else
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
input_dev->cdev.dev = &dev->dev;
-#else
- input_dev->dev = &dev->dev;
-#endif
#endif
input_dev->evbit[0] = BIT_MASK(EV_KEY);