diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-08-31 10:50:21 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-08-31 14:58:34 -0400 |
commit | bd68dfe0071b50bc69416a92ee22b63d1cc33a3b (patch) | |
tree | 2d16b0789eb5eda62c09bebda09d6ee1468b2b92 /drivers/input/touchscreen | |
parent | 31b95bfb79e8d7637ba0d399eb152f9b0d548340 (diff) |
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>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/s3c2410_ts.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
406 | return 0; | 406 | return 0; |
407 | } | 407 | } |
408 | 408 | ||
409 | static struct dev_pm_ops s3c_ts_pmops = { | 409 | static const struct dev_pm_ops s3c_ts_pmops = { |
410 | .suspend = s3c2410ts_suspend, | 410 | .suspend = s3c2410ts_suspend, |
411 | .resume = s3c2410ts_resume, | 411 | .resume = s3c2410ts_resume, |
412 | }; | 412 | }; |