From 8f9e8624127c40de6422da55a0bc3534ca1cc614 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 19 Nov 2008 17:09:40 +0000 Subject: tracking-2.6.25-input_dev-cdev-union-removed.patch struct input_dev in include/linux/input.h used to have a union cdev which contained the associated device struct pointer. This got simplified out in 2.6.25, so this patch removes cdev from our drivers that used it before. Signed-off-by: Andy Green --- drivers/input/keyboard/neo1973kbd.c | 1 - drivers/input/keyboard/qt2410kbd.c | 1 - 2 files changed, 2 deletions(-) (limited to 'drivers/input') diff --git a/drivers/input/keyboard/neo1973kbd.c b/drivers/input/keyboard/neo1973kbd.c index 8b9a4203e29..6fc3ac165b6 100644 --- a/drivers/input/keyboard/neo1973kbd.c +++ b/drivers/input/keyboard/neo1973kbd.c @@ -199,7 +199,6 @@ static int neo1973kbd_probe(struct platform_device *pdev) input_dev->id.vendor = 0x0001; input_dev->id.product = 0x0001; input_dev->id.version = 0x0100; - input_dev->cdev.dev = &pdev->dev; input_dev->private = neo1973kbd; input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_SW); diff --git a/drivers/input/keyboard/qt2410kbd.c b/drivers/input/keyboard/qt2410kbd.c index fa4bf32fac0..cd8d7c6619b 100644 --- a/drivers/input/keyboard/qt2410kbd.c +++ b/drivers/input/keyboard/qt2410kbd.c @@ -124,7 +124,6 @@ static int gta01kbd_probe(struct platform_device *pdev) input_dev->id.vendor = 0x0001; input_dev->id.product = 0x0001; input_dev->id.version = 0x0100; - input_dev->cdev.dev = &pdev->dev; input_dev->private = gta01kbd; input_dev->evbit[0] = BIT(EV_KEY); -- cgit v1.2.3