summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2013-04-09 01:28:08 +0400
committerChris Ball <cjb@laptop.org>2013-04-12 23:13:34 +0400
commit42477053c389900f28e200c198830c838989809f (patch)
tree3a3ccb383d90de29dd9205c98693e63e3e4dbd08 /drivers/mmc
parentbcf53524ac4532da546cb87099a6e164d5394004 (diff)
downloadlinux-42477053c389900f28e200c198830c838989809f.tar.xz
mmc: mxcmmc: constify mxcmci_devtype
mxcmci_devtype struct contains constant data, so constify this struct. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/mxcmmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
index df28ebf7e240..5d528269587f 100644
--- a/drivers/mmc/host/mxcmmc.c
+++ b/drivers/mmc/host/mxcmmc.c
@@ -165,7 +165,7 @@ struct mxcmci_host {
enum mxcmci_type devtype;
};
-static struct platform_device_id mxcmci_devtype[] = {
+static const struct platform_device_id mxcmci_devtype[] = {
{
.name = "imx21-mmc",
.driver_data = IMX21_MMC,