aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/pxa930_rotary.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/pxa930_rotary.c')
-rw-r--r--drivers/input/keyboard/pxa930_rotary.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/keyboard/pxa930_rotary.c b/drivers/input/keyboard/pxa930_rotary.c
index 248cdcf95296..367b03ab92a2 100644
--- a/drivers/input/keyboard/pxa930_rotary.c
+++ b/drivers/input/keyboard/pxa930_rotary.c
@@ -84,7 +84,8 @@ static void pxa930_rotary_close(struct input_dev *dev)
84 84
85static int pxa930_rotary_probe(struct platform_device *pdev) 85static int pxa930_rotary_probe(struct platform_device *pdev)
86{ 86{
87 struct pxa930_rotary_platform_data *pdata = pdev->dev.platform_data; 87 struct pxa930_rotary_platform_data *pdata =
88 dev_get_platdata(&pdev->dev);
88 struct pxa930_rotary *r; 89 struct pxa930_rotary *r;
89 struct input_dev *input_dev; 90 struct input_dev *input_dev;
90 struct resource *res; 91 struct resource *res;