public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Doug Wilson <doug.lkml@gmail.com>
To: linux-omap@vger.kernel.org
Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
	Doug Wilson <doug.lkml@gmail.com>,
	Doug Wilson <doug.wilson@gmail.com>
Subject: [PATCH] omap/hsmmc: constify dev_pm_ops
Date: Tue,  8 Aug 2017 16:44:17 +0530	[thread overview]
Message-ID: <1502190857-3762-1-git-send-email-doug.lkml@gmail.com> (raw)

dev_pm_ops is not supposed to change at runtime. Marking it
constant.

Signed-off-by: Doug Wilson <doug.wilson@gmail.com>
---
 drivers/mmc/host/omap_hsmmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 04ff3c9..a280c7f 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -2322,7 +2322,7 @@ static int omap_hsmmc_runtime_resume(struct device *dev)
 	return 0;
 }
 
-static struct dev_pm_ops omap_hsmmc_dev_pm_ops = {
+static const struct dev_pm_ops omap_hsmmc_dev_pm_ops = {
 	SET_SYSTEM_SLEEP_PM_OPS(omap_hsmmc_suspend, omap_hsmmc_resume)
 	.runtime_suspend = omap_hsmmc_runtime_suspend,
 	.runtime_resume = omap_hsmmc_runtime_resume,
-- 
2.7.4

             reply	other threads:[~2017-08-08 11:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-08 11:14 Doug Wilson [this message]
2017-08-08 11:34 ` [PATCH] omap/hsmmc: constify dev_pm_ops Ulf Hansson
2017-08-08 11:39   ` Doug Wilson
2017-08-08 11:45     ` Ulf Hansson
2017-08-08 11:47       ` Doug Wilson

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=1502190857-3762-1-git-send-email-doug.lkml@gmail.com \
    --to=doug.lkml@gmail.com \
    --cc=doug.wilson@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-omap@vger.kernel.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