From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Samuel Ortiz <sameo@linux.intel.com>,
Lee Jones <lee.jones@linaro.org>,
linux-kernel@vger.kernel.org
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>,
Roger Quadros <rogerq@ti.com>
Subject: [PATCH 10/16] mfd: omap-usb-host: Make of_device_id array const
Date: Tue, 13 May 2014 12:58:47 +0200 [thread overview]
Message-ID: <1399978733-13662-10-git-send-email-k.kozlowski@samsung.com> (raw)
In-Reply-To: <1399978733-13662-1-git-send-email-k.kozlowski@samsung.com>
Array of struct of_device_id may be be const as expected by
of_platform_populate() call.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Roger Quadros <rogerq@ti.com>
---
drivers/mfd/omap-usb-host.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 651e249287dc..b48d80c367f9 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -557,7 +557,7 @@ static int usbhs_omap_get_dt_pdata(struct device *dev,
return 0;
}
-static struct of_device_id usbhs_child_match_table[] = {
+static const struct of_device_id usbhs_child_match_table[] = {
{ .compatible = "ti,omap-ehci", },
{ .compatible = "ti,omap-ohci", },
{ }
--
1.9.1
next prev parent reply other threads:[~2014-05-13 11:02 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-13 10:58 [PATCH 01/16] mfd: max14577: Make mfd_cell array const Krzysztof Kozlowski
2014-05-13 10:58 ` [PATCH 02/16] mfd: max14577: Make of_device_id " Krzysztof Kozlowski
2014-05-19 8:28 ` Lee Jones
2014-05-13 10:58 ` [PATCH 03/16] mfd: ipaq-micro: Make mfd_cell " Krzysztof Kozlowski
2014-05-16 13:37 ` Linus Walleij
2014-05-19 8:24 ` Lee Jones
2014-05-13 10:58 ` [PATCH 04/16] mfd: db8500-prcmu: " Krzysztof Kozlowski
2014-05-16 13:37 ` Linus Walleij
2014-05-19 8:24 ` Lee Jones
2014-05-13 10:58 ` [PATCH 05/16] mfd: kempld-core: " Krzysztof Kozlowski
2014-05-14 21:12 ` kevin.strasser
2014-05-19 8:25 ` Lee Jones
2014-05-13 10:58 ` [PATCH 06/16] mfd: lp3943: " Krzysztof Kozlowski
2014-05-13 14:55 ` Milo Kim
2014-05-19 8:26 ` Lee Jones
2014-05-13 10:58 ` [PATCH 07/16] mfd: rtsx_usb: " Krzysztof Kozlowski
2014-05-15 9:17 ` Roger
2014-05-19 8:25 ` Lee Jones
2014-05-13 10:58 ` [PATCH 08/16] mfd: wm8400-core: " Krzysztof Kozlowski
2014-05-13 11:35 ` Charles Keepax
2014-05-19 8:26 ` Lee Jones
2014-05-13 10:58 ` [PATCH 09/16] mfd: sec-core: Make of_device_id " Krzysztof Kozlowski
2014-05-19 8:33 ` Lee Jones
2014-05-13 10:58 ` Krzysztof Kozlowski [this message]
2014-05-19 8:32 ` [PATCH 10/16] mfd: omap-usb-host: " Lee Jones
2014-05-13 10:58 ` [PATCH 11/16] mfd: max8998: " Krzysztof Kozlowski
2014-05-19 8:31 ` Lee Jones
2014-05-13 10:58 ` [PATCH 12/16] mfd: max8997: " Krzysztof Kozlowski
2014-05-19 8:31 ` Lee Jones
2014-05-13 10:58 ` [PATCH 13/16] mfd: as3711: " Krzysztof Kozlowski
2014-05-19 8:27 ` Lee Jones
2014-05-13 10:58 ` [PATCH 14/16] mfd: max77686: " Krzysztof Kozlowski
2014-05-19 8:28 ` Lee Jones
2014-05-13 10:58 ` [PATCH 15/16] mfd: max77693: " Krzysztof Kozlowski
2014-05-13 11:42 ` Chanwoo Choi
2014-05-19 8:26 ` Lee Jones
2014-05-13 10:58 ` [PATCH 16/16] mfd: max8907: " Krzysztof Kozlowski
2014-05-19 8:27 ` Lee Jones
2014-05-19 8:23 ` [PATCH 01/16] mfd: max14577: Make mfd_cell " 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=1399978733-13662-10-git-send-email-k.kozlowski@samsung.com \
--to=k.kozlowski@samsung.com \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rogerq@ti.com \
--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;
as well as URLs for NNTP newsgroup(s).