summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-esdhc-imx.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-01 18:49:21 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2015-06-01 10:06:51 +0300
commitf8cbf461f9fa8649ef3aae6068f303024cd4fca8 (patch)
tree9d6b653b405a39076793524ecac68173a8d27aa7 /drivers/mmc/host/sdhci-esdhc-imx.c
parent6a643206ef5bb509a50902aa1b339eee1fc018e6 (diff)
downloadlinux-f8cbf461f9fa8649ef3aae6068f303024cd4fca8.tar.xz
mmc: sdhci-imx: Constify platform_device_id
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-esdhc-imx.c')
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index ffa976037cf2..8eed84326e2f 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -161,7 +161,7 @@ struct pltfm_imx_data {
u32 is_ddr;
};
-static struct platform_device_id imx_esdhc_devtype[] = {
+static const struct platform_device_id imx_esdhc_devtype[] = {
{
.name = "sdhci-esdhc-imx25",
.driver_data = (kernel_ulong_t) &esdhc_imx25_data,