From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-input@vger.kernel.org, patches@linaro.org
Subject: Re: [PATCH] Input: s3c2410_ts: Make s3c_ts_pmops const
Date: Fri, 31 Aug 2012 07:51:10 -0700 [thread overview]
Message-ID: <20120831145109.GB26858@core.coreip.homeip.net> (raw)
In-Reply-To: <1346406437-19213-1-git-send-email-sachin.kamat@linaro.org>
On Fri, Aug 31, 2012 at 03:17:17PM +0530, Sachin Kamat wrote:
> Fixes the following warning:
> WARNING: struct dev_pm_ops should normally be const
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Applied, thanks Sachin.
> ---
> 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 bf1a064..b3c66d4 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)
> 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,
> };
> --
> 1.7.4.1
>
--
Dmitry
prev parent reply other threads:[~2012-08-31 14:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-31 9:47 [PATCH] Input: s3c2410_ts: Make s3c_ts_pmops const Sachin Kamat
2012-08-31 14:51 ` Dmitry Torokhov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120831145109.GB26858@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=patches@linaro.org \
--cc=sachin.kamat@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).