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>
This commit is contained in:
Родитель
31b95bfb79
Коммит
bd68dfe007
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче