提交 bd68dfe0 编写于 作者: S Sachin Kamat 提交者: Dmitry Torokhov

Input: s3c2410_ts - make s3c_ts_pmops const

Fixes the following warning:
WARNING: struct dev_pm_ops should normally be const
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 31b95bfb
...@@ -406,7 +406,7 @@ static int s3c2410ts_resume(struct device *dev) ...@@ -406,7 +406,7 @@ static int s3c2410ts_resume(struct device *dev)
return 0; return 0;
} }
static struct dev_pm_ops s3c_ts_pmops = { static const struct dev_pm_ops s3c_ts_pmops = {
.suspend = s3c2410ts_suspend, .suspend = s3c2410ts_suspend,
.resume = s3c2410ts_resume, .resume = s3c2410ts_resume,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册