summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-01 18:53:31 +0300
committerJonathan Cameron <jic23@kernel.org>2015-05-10 22:31:46 +0300
commite682173f3753a73feb8336c8b6cdd8c6b74bdd75 (patch)
tree448302342a7a5bf246d25b0c86759c5986976ac7 /drivers/iio
parent76ec50a1bcee1e294f282fcf54655c07bc40383e (diff)
downloadlinux-e682173f3753a73feb8336c8b6cdd8c6b74bdd75.tar.xz
iio: adc: axp288: 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: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/axp288_adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/axp288_adc.c b/drivers/iio/adc/axp288_adc.c
index 08bcfb061ca5..27197fd1517e 100644
--- a/drivers/iio/adc/axp288_adc.c
+++ b/drivers/iio/adc/axp288_adc.c
@@ -238,7 +238,7 @@ static int axp288_adc_remove(struct platform_device *pdev)
return 0;
}
-static struct platform_device_id axp288_adc_id_table[] = {
+static const struct platform_device_id axp288_adc_id_table[] = {
{ .name = "axp288_adc" },
{},
};