Input: atmel-wm97xx - fix compile error
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 19 Nov 2013 22:01:47 +0000 (14:01 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 21 Nov 2013 05:15:52 +0000 (21:15 -0800)
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel-wm97xx.c

index 268a35e55d7f160fd632a673276f67ee6672665f..279c0e42b8a7515a161550621ac82dd2ccd7d0f0 100644 (file)
@@ -391,7 +391,7 @@ static int __exit atmel_wm97xx_remove(struct platform_device *pdev)
 }
 
 #ifdef CONFIG_PM_SLEEP
-static int atmel_wm97xx_suspend(struct *dev)
+static int atmel_wm97xx_suspend(struct device *dev)
 {
        struct platform_device *pdev = to_platform_device(dev);
        struct atmel_wm97xx *atmel_wm97xx = platform_get_drvdata(pdev);