mmc: s3cmci: Constify platform_device_id
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:49:20 +0000 (00:49 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:06:51 +0000 (09:06 +0200)
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>
drivers/mmc/host/s3cmci.c

index 94cddf381ba3d72d1e9359afffb694f06dce6118..6291d5042ef2a5004212b1b14aff0d5a2f4c8613 100644 (file)
@@ -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,