Skip to content

Commit

Permalink
Input: s3c2410_ts - make s3c_ts_pmops const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Dmitry Torokhov committed Aug 31, 2012
1 parent 31b95bf commit bd68dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/s3c2410_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit bd68dfe

Please sign in to comment.