summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-02 00:06:35 +0900
committerKukjin Kim <kgene@kernel.org>2015-06-06 02:18:02 +0900
commite6350c575e68aa1d8c1d851729a3e05c7fd25324 (patch)
tree8b0631616a9e42d537f8f49f6feb8c4e3e344a42 /arch/arm/plat-samsung
parentfc4a2cc7c3ccb6e02337d9d83365032a131c9da1 (diff)
downloadlinux-e6350c575e68aa1d8c1d851729a3e05c7fd25324.tar.bz2
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/plat-samsung')
-rw-r--r--arch/arm/plat-samsung/adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/adc.c b/arch/arm/plat-samsung/adc.c
index 38444b94ac42..efa6e85619ad 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,