From: Krzysztof Kozlowski Date: Fri, 1 May 2015 15:49:20 +0000 (+0900) Subject: mmc: s3cmci: Constify platform_device_id X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a643206ef5bb509a50902aa1b339eee1fc018e6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mmc: s3cmci: 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 Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index 94cddf381ba3..6291d5042ef2 100644 --- a/drivers/mmc/host/s3cmci.c +++ b/drivers/mmc/host/s3cmci.c @@ -1856,7 +1856,7 @@ static int s3cmci_remove(struct platform_device *pdev) return 0; } -static struct platform_device_id s3cmci_driver_ids[] = { +static const struct platform_device_id s3cmci_driver_ids[] = { { .name = "s3c2410-sdi", .driver_data = 0,