diff options
author | Anatolij Gustschin <agust@denx.de> | 2013-04-08 17:28:08 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-04-12 15:13:34 -0400 |
commit | 42477053c389900f28e200c198830c838989809f (patch) | |
tree | 3a3ccb383d90de29dd9205c98693e63e3e4dbd08 | |
parent | bcf53524ac4532da546cb87099a6e164d5394004 (diff) |
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>
-rw-r--r-- | drivers/mmc/host/mxcmmc.c | 2 |
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 { | |||
165 | enum mxcmci_type devtype; | 165 | enum mxcmci_type devtype; |
166 | }; | 166 | }; |
167 | 167 | ||
168 | static struct platform_device_id mxcmci_devtype[] = { | 168 | static const struct platform_device_id mxcmci_devtype[] = { |
169 | { | 169 | { |
170 | .name = "imx21-mmc", | 170 | .name = "imx21-mmc", |
171 | .driver_data = IMX21_MMC, | 171 | .driver_data = IMX21_MMC, |