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

mmc: davinci: 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
ed425fc4 a1b0b977

+1 -1
+1 -1
drivers/mmc/host/davinci_mmc.c
··· 1161 1161 mmc_davinci_reset_ctrl(host, 0); 1162 1162 } 1163 1163 1164 - static struct platform_device_id davinci_mmc_devtype[] = { 1164 + static const struct platform_device_id davinci_mmc_devtype[] = { 1165 1165 { 1166 1166 .name = "dm6441-mmc", 1167 1167 .driver_data = MMC_CTLR_VERSION_1,