Browse Source

ARM: SAMSUNG: 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: Kukjin Kim <kgene@kernel.org>
Krzysztof Kozlowski 10 years ago
parent
commit
e6350c575e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/plat-samsung/adc.c

+ 1 - 1
arch/arm/plat-samsung/adc.c

@@ -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,