]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mmc: mxcmmc: constify mxcmci_devtype
authorAnatolij Gustschin <agust@denx.de>
Mon, 8 Apr 2013 21:28:08 +0000 (23:28 +0200)
committerChris Ball <cjb@laptop.org>
Fri, 12 Apr 2013 19:13:34 +0000 (15:13 -0400)
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>
drivers/mmc/host/mxcmmc.c

index df28ebf7e2400fa700ec106bcbb3c15d78bb77d0..5d528269587f4295e29ef51b96e19fc76a60c00c 100644 (file)
@@ -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,