diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-16 15:17:12 -0400 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-03-20 08:23:06 -0400 |
commit | 8fb0885504cc029bd48877fa89ba91c33c0110b5 (patch) | |
tree | 2ac4aff94b08f8cea106b5921f5247f60fc278ef /drivers/power/reset/vexpress-poweroff.c | |
parent | 039ab50bda5606307138b1baa1f18c7e33d357e4 (diff) |
power: 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>
[for vexpress]
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/reset/vexpress-poweroff.c')
-rw-r--r-- | drivers/power/reset/vexpress-poweroff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/vexpress-poweroff.c b/drivers/power/reset/vexpress-poweroff.c index be12d9b92957..6a9bf7089373 100644 --- a/drivers/power/reset/vexpress-poweroff.c +++ b/drivers/power/reset/vexpress-poweroff.c | |||
@@ -80,7 +80,7 @@ DEVICE_ATTR(active, S_IRUGO | S_IWUSR, vexpress_reset_active_show, | |||
80 | 80 | ||
81 | enum vexpress_reset_func { FUNC_RESET, FUNC_SHUTDOWN, FUNC_REBOOT }; | 81 | enum vexpress_reset_func { FUNC_RESET, FUNC_SHUTDOWN, FUNC_REBOOT }; |
82 | 82 | ||
83 | static struct of_device_id vexpress_reset_of_match[] = { | 83 | static const struct of_device_id vexpress_reset_of_match[] = { |
84 | { | 84 | { |
85 | .compatible = "arm,vexpress-reset", | 85 | .compatible = "arm,vexpress-reset", |
86 | .data = (void *)FUNC_RESET, | 86 | .data = (void *)FUNC_RESET, |