ARM: SAMSUNG: Constify platform_device_id
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:06:35 +0000 (00:06 +0900)
committerKukjin Kim <kgene@kernel.org>
Fri, 5 Jun 2015 17:18:02 +0000 (02:18 +0900)
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: Kukjin Kim <kgene@kernel.org>
arch/arm/plat-samsung/adc.c

index 38444b94ac427508dce316efc30c2d58b67219c6..efa6e85619ad824c2d9ea9a2bdb0b2c0eb9a3077 100644 (file)
@@ -475,7 +475,7 @@ static int s3c_adc_resume(struct device *dev)
 #define s3c_adc_resume NULL
 #endif
 
-static struct platform_device_id s3c_adc_driver_ids[] = {
+static const struct platform_device_id s3c_adc_driver_ids[] = {
        {
                .name           = "s3c24xx-adc",
                .driver_data    = TYPE_ADCV1,