Skip to content

Commit bd68dfe

Browse files
Sachin Kamatdtor
authored andcommitted
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>
1 parent 31b95bf commit bd68dfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/input/touchscreen/s3c2410_ts.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ static int s3c2410ts_resume(struct device *dev)
406406
return 0;
407407
}
408408

409-
static struct dev_pm_ops s3c_ts_pmops = {
409+
static const struct dev_pm_ops s3c_ts_pmops = {
410410
.suspend = s3c2410ts_suspend,
411411
.resume = s3c2410ts_resume,
412412
};

0 commit comments

Comments
 (0)