diff options
author | Anatolij Gustschin <agust@denx.de> | 2013-04-08 23:28:08 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-04-12 15:13:34 -0400 |
commit | 42477053c389900f28e200c198830c838989809f (patch) | |
tree | 3a3ccb383d90de29dd9205c98693e63e3e4dbd08 /drivers/mmc | |
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>
Diffstat (limited to 'drivers/mmc')
-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 { 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, |