aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-02 00:49:20 +0900
committerUlf Hansson <ulf.hansson@linaro.org>2015-06-01 09:06:51 +0200
commit6a643206ef5bb509a50902aa1b339eee1fc018e6 (patch)
treec753d1b40c6f0fe96a1f3b305c9af4cf24c0dae2 /drivers/mmc
parentmmc: rtsx: Constify platform_device_id (diff)
downloadlinux-dev-6a643206ef5bb509a50902aa1b339eee1fc018e6.tar.xz
linux-dev-6a643206ef5bb509a50902aa1b339eee1fc018e6.zip
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 <k.kozlowski.k@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/s3cmci.c2
1 files changed, 1 insertions, 1 deletions
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,