linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] mmc: davinci: Constify platform_device_id
@ 2015-05-01 15:49 Krzysztof Kozlowski
  2015-05-01 15:49 ` [PATCH 2/6] mmc: mxs: " Krzysztof Kozlowski
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-01 15:49 UTC (permalink / raw)
  To: linux-arm-kernel

The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
---
 drivers/mmc/host/davinci_mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
index 1625f908dc70..ea2a2ebc6b91 100644
--- a/drivers/mmc/host/davinci_mmc.c
+++ b/drivers/mmc/host/davinci_mmc.c
@@ -1161,7 +1161,7 @@ static void __init init_mmcsd_host(struct mmc_davinci_host *host)
 	mmc_davinci_reset_ctrl(host, 0);
 }
 
-static struct platform_device_id davinci_mmc_devtype[] = {
+static const struct platform_device_id davinci_mmc_devtype[] = {
 	{
 		.name	= "dm6441-mmc",
 		.driver_data = MMC_CTLR_VERSION_1,
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-05-05  8:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-01 15:49 [PATCH 1/6] mmc: davinci: Constify platform_device_id Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 2/6] mmc: mxs: " Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 3/6] mmc: rtsx: " Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 4/6] mmc: s3cmci: " Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 5/6] mmc: sdhci-imx: " Krzysztof Kozlowski
2015-05-01 15:49 ` [PATCH 6/6] mmc: sdhc-s3c: " Krzysztof Kozlowski
2015-05-05  8:36 ` [PATCH 1/6] mmc: davinci: " Ulf Hansson

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).