projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1b0b97
)
mmc: davinci: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:49:17 +0000
(
00:49
+0900)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:06:49 +0000
(09:06 +0200)
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>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/davinci_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/davinci_mmc.c
b/drivers/mmc/host/davinci_mmc.c
index 1625f908dc70bbab91658c49da3a0e47a4f516bd..ea2a2ebc6b91320d928439518218b36a966396a3 100644
(file)
--- 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,