diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-16 15:17:15 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-03-28 06:55:37 -0400 |
commit | 7253606d383954c5b0470b5f27fbcedeec2e6d72 (patch) | |
tree | 4e827bee001f1808c7370e6bb053856cf9f700ad /drivers/iio | |
parent | 7cf78db585b13d5f43e5108cca6cdc5d9682793a (diff) |
iio: constify of_device_id array
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/common/ssp_sensors/ssp_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/common/ssp_sensors/ssp_dev.c b/drivers/iio/common/ssp_sensors/ssp_dev.c index 55a90082a29b..9a40097e7cf8 100644 --- a/drivers/iio/common/ssp_sensors/ssp_dev.c +++ b/drivers/iio/common/ssp_sensors/ssp_dev.c | |||
@@ -437,7 +437,7 @@ int ssp_queue_ssp_refresh_task(struct ssp_data *data, unsigned int delay) | |||
437 | } | 437 | } |
438 | 438 | ||
439 | #ifdef CONFIG_OF | 439 | #ifdef CONFIG_OF |
440 | static struct of_device_id ssp_of_match[] = { | 440 | static const struct of_device_id ssp_of_match[] = { |
441 | { | 441 | { |
442 | .compatible = "samsung,sensorhub-rinato", | 442 | .compatible = "samsung,sensorhub-rinato", |
443 | .data = &ssp_rinato_info, | 443 | .data = &ssp_rinato_info, |