projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cf78db
)
iio: constify of_device_id array
author
Fabian Frederick
<fabf@skynet.be>
Mon, 16 Mar 2015 19:17:15 +0000
(20:17 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 28 Mar 2015 10:55:37 +0000
(10:55 +0000)
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>
drivers/iio/common/ssp_sensors/ssp_dev.c
patch
|
blob
|
history
diff --git
a/drivers/iio/common/ssp_sensors/ssp_dev.c
b/drivers/iio/common/ssp_sensors/ssp_dev.c
index 55a90082a29bd4846aaea896f8c7f847d96fcb45..9a40097e7cf81439933c892d7bfc205cc43d69d7 100644
(file)
--- 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)
}
#ifdef CONFIG_OF
-static struct of_device_id ssp_of_match[] = {
+static
const
struct of_device_id ssp_of_match[] = {
{
.compatible = "samsung,sensorhub-rinato",
.data = &ssp_rinato_info,