public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jingoo Han <jg1.han@samsung.com>
To: "'Lee Jones'" <lee.jones@linaro.org>
Cc: linux-kernel@vger.kernel.org,
	"'Samuel Ortiz'" <sameo@linux.intel.com>,
	"'Jingoo Han'" <jg1.han@samsung.com>,
	"'Ben Dooks'" <ben.dooks@codethink.co.uk>
Subject: [PATCH 4/4] mfd: sm501: Make of_device_id array const
Date: Wed, 07 May 2014 17:24:05 +0900	[thread overview]
Message-ID: <01f701cf69cd$b5ca4d20$215ee760$%han@samsung.com> (raw)
In-Reply-To: <01f001cf69cc$8dd3b320$a97b1960$%han@samsung.com>

Make of_device_id array const, because all OF functions
handle it as const.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/mfd/sm501.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c
index e7dc441..81e6d09 100644
--- a/drivers/mfd/sm501.c
+++ b/drivers/mfd/sm501.c
@@ -1726,7 +1726,7 @@ static struct pci_driver sm501_pci_driver = {
 
 MODULE_ALIAS("platform:sm501");
 
-static struct of_device_id of_sm501_match_tbl[] = {
+static const struct of_device_id of_sm501_match_tbl[] = {
 	{ .compatible = "smi,sm501", },
 	{ /* end */ }
 };
-- 
1.7.10.4



  parent reply	other threads:[~2014-05-07  8:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07  8:15 [PATCH 1/4] mfd: tps65910: Make of_device_id array const Jingoo Han
2014-05-07  8:22 ` [PATCH 2/4] mfd: tps6507x: " Jingoo Han
2014-05-07 12:46   ` Lee Jones
2014-05-07  8:23 ` [PATCH 3/4] mfd: tps6586x: " Jingoo Han
2014-05-07 12:46   ` Lee Jones
2014-05-07  8:24 ` Jingoo Han [this message]
2014-05-07 12:47   ` [PATCH 4/4] mfd: sm501: " Lee Jones
2014-05-07 12:45 ` [PATCH 1/4] mfd: tps65910: " Lee Jones

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='01f701cf69cd$b5ca4d20$215ee760$%han@samsung.com' \
    --to=jg1.han@samsung.com \
    --cc=ben.dooks@codethink.co.uk \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    /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