diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-16 20:17:12 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-03-20 13:23:06 +0100 |
commit | 8fb0885504cc029bd48877fa89ba91c33c0110b5 (patch) | |
tree | 2ac4aff94b08f8cea106b5921f5247f60fc278ef /drivers/power/reset/syscon-reboot.c | |
parent | power/reset/rmobile-reset.c: Fix !HAS_IOMEM build (diff) | |
download | linux-8fb0885504cc029bd48877fa89ba91c33c0110b5.tar.xz linux-8fb0885504cc029bd48877fa89ba91c33c0110b5.zip |
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/syscon-reboot.c')
-rw-r--r-- | drivers/power/reset/syscon-reboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/syscon-reboot.c b/drivers/power/reset/syscon-reboot.c index c4049f45663f..d3c7d245ae63 100644 --- a/drivers/power/reset/syscon-reboot.c +++ b/drivers/power/reset/syscon-reboot.c @@ -76,7 +76,7 @@ static int syscon_reboot_probe(struct platform_device *pdev) return err; } -static struct of_device_id syscon_reboot_of_match[] = { +static const struct of_device_id syscon_reboot_of_match[] = { { .compatible = "syscon-reboot" }, {} }; |