Browse Source

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>
Anatolij Gustschin 12 years ago
parent
commit
42477053c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mmc/host/mxcmmc.c

+ 1 - 1
drivers/mmc/host/mxcmmc.c

@@ -165,7 +165,7 @@ struct mxcmci_host {
 	enum mxcmci_type	devtype;
 	enum mxcmci_type	devtype;
 };
 };
 
 
-static struct platform_device_id mxcmci_devtype[] = {
+static const struct platform_device_id mxcmci_devtype[] = {
 	{
 	{
 		.name = "imx21-mmc",
 		.name = "imx21-mmc",
 		.driver_data = IMX21_MMC,
 		.driver_data = IMX21_MMC,