Explorar el Código

Input: s3c2410_ts - make s3c_ts_pmops const

Fixes the following warning:
WARNING: struct dev_pm_ops should normally be const

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Sachin Kamat hace 13 años
padre
commit
bd68dfe007
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/input/touchscreen/s3c2410_ts.c

+ 1 - 1
drivers/input/touchscreen/s3c2410_ts.c

@@ -406,7 +406,7 @@ static int s3c2410ts_resume(struct device *dev)
 	return 0;
 }
 
-static struct dev_pm_ops s3c_ts_pmops = {
+static const struct dev_pm_ops s3c_ts_pmops = {
 	.suspend	= s3c2410ts_suspend,
 	.resume		= s3c2410ts_resume,
 };