summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
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/host
parentf2483b0d196ce2d967a92b7b1217553550d6d053 (diff)
downloadblackbird-op-linux-6a643206ef5bb509a50902aa1b339eee1fc018e6.tar.gz
blackbird-op-linux-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/host')
-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,
OpenPOWER on IntegriCloud