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

mmc: sdhci-s3c: 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
4d0aa491 f8cbf461

+1 -1
+1 -1
drivers/mmc/host/sdhci-s3c.c
··· 736 736 #define EXYNOS4_SDHCI_DRV_DATA ((kernel_ulong_t)NULL) 737 737 #endif 738 738 739 - static struct platform_device_id sdhci_s3c_driver_ids[] = { 739 + static const struct platform_device_id sdhci_s3c_driver_ids[] = { 740 740 { 741 741 .name = "s3c-sdhci", 742 742 .driver_data = (kernel_ulong_t)NULL,