Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabian Frederick and committed by
Jonathan Cameron
7253606d 7cf78db5

+1 -1
+1 -1
drivers/iio/common/ssp_sensors/ssp_dev.c
··· 437 437 } 438 438 439 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 442 .compatible = "samsung,sensorhub-rinato", 443 443 .data = &ssp_rinato_info,