diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-05-02 00:53:31 +0900 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-05-10 20:31:46 +0100 |
commit | e682173f3753a73feb8336c8b6cdd8c6b74bdd75 (patch) | |
tree | 448302342a7a5bf246d25b0c86759c5986976ac7 /drivers/iio/adc | |
parent | 76ec50a1bcee1e294f282fcf54655c07bc40383e (diff) | |
download | linux-e682173f3753a73feb8336c8b6cdd8c6b74bdd75.tar.bz2 |
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/adc')
-rw-r--r-- | drivers/iio/adc/axp288_adc.c | 2 |
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" }, {}, }; |