]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Input: s3c2410_ts - make s3c_ts_pmops const
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 31 Aug 2012 14:50:21 +0000 (07:50 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 31 Aug 2012 18:58:34 +0000 (11:58 -0700)
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>
drivers/input/touchscreen/s3c2410_ts.c

index bf1a06400067b10dea6b24fc10b5c303e2459b28..b3c66d4d02f68e6893d3ec482506637ca9f51e1a 100644 (file)
@@ -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,
 };