From: Anatolij Gustschin Date: Mon, 8 Apr 2013 21:28:08 +0000 (+0200) Subject: mmc: mxcmmc: constify mxcmci_devtype X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42477053c389900f28e200c198830c838989809f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mmc: mxcmmc: constify mxcmci_devtype mxcmci_devtype struct contains constant data, so constify this struct. Signed-off-by: Anatolij Gustschin Acked-by: Sascha Hauer Signed-off-by: Chris Ball --- 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,