aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/pwm-beeper.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/pwm-beeper.c')
-rw-r--r--drivers/input/misc/pwm-beeper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/pwm-beeper.c b/drivers/input/misc/pwm-beeper.c
index 940566e7be13..8ef288e7c971 100644
--- a/drivers/input/misc/pwm-beeper.c
+++ b/drivers/input/misc/pwm-beeper.c
@@ -68,7 +68,7 @@ static int pwm_beeper_event(struct input_dev *input,
68 68
69static int pwm_beeper_probe(struct platform_device *pdev) 69static int pwm_beeper_probe(struct platform_device *pdev)
70{ 70{
71 unsigned long pwm_id = (unsigned long)pdev->dev.platform_data; 71 unsigned long pwm_id = (unsigned long)dev_get_platdata(&pdev->dev);
72 struct pwm_beeper *beeper; 72 struct pwm_beeper *beeper;
73 int error; 73 int error;
74 74