From: Sachin Kamat Date: Fri, 31 Aug 2012 14:50:21 +0000 (-0700) Subject: Input: s3c2410_ts - make s3c_ts_pmops const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd68dfe0071b50bc69416a92ee22b63d1cc33a3b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c index bf1a06400067..b3c66d4d02f6 100644 --- a/drivers/input/touchscreen/s3c2410_ts.c +++ b/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, };