diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-05-01 15:06:35 (GMT) |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-06-05 17:18:02 (GMT) |
commit | e6350c575e68aa1d8c1d851729a3e05c7fd25324 (patch) | |
tree | 8b0631616a9e42d537f8f49f6feb8c4e3e344a42 /arch/arm | |
parent | fc4a2cc7c3ccb6e02337d9d83365032a131c9da1 (diff) | |
download | linux-e6350c575e68aa1d8c1d851729a3e05c7fd25324.tar.xz |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-samsung/adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/adc.c b/arch/arm/plat-samsung/adc.c index 38444b9..efa6e85 100644 --- a/arch/arm/plat-samsung/adc.c +++ b/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, |