Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Krzysztof Kozlowski and committed by
Ulf Hansson
f8cbf461 6a643206

+1 -1
+1 -1
drivers/mmc/host/sdhci-esdhc-imx.c
··· 161 161 u32 is_ddr; 162 162 }; 163 163 164 - static struct platform_device_id imx_esdhc_devtype[] = { 164 + static const struct platform_device_id imx_esdhc_devtype[] = { 165 165 { 166 166 .name = "sdhci-esdhc-imx25", 167 167 .driver_data = (kernel_ulong_t) &esdhc_imx25_data,