diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-05-02 00:06:35 +0900 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-06-06 02:18:02 +0900 |
commit | e6350c575e68aa1d8c1d851729a3e05c7fd25324 (patch) | |
tree | 8b0631616a9e42d537f8f49f6feb8c4e3e344a42 /arch/arm/plat-samsung | |
parent | fc4a2cc7c3ccb6e02337d9d83365032a131c9da1 (diff) | |
download | op-kernel-dev-e6350c575e68aa1d8c1d851729a3e05c7fd25324.zip op-kernel-dev-e6350c575e68aa1d8c1d851729a3e05c7fd25324.tar.gz |
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.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 38444b94..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, |