diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-16 19:17:12 (GMT) |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-03-20 12:23:06 (GMT) |
commit | 8fb0885504cc029bd48877fa89ba91c33c0110b5 (patch) | |
tree | 2ac4aff94b08f8cea106b5921f5247f60fc278ef /drivers/power/reset/at91-poweroff.c | |
parent | 039ab50bda5606307138b1baa1f18c7e33d357e4 (diff) | |
download | linux-8fb0885504cc029bd48877fa89ba91c33c0110b5.tar.xz |
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/at91-poweroff.c')
-rw-r--r-- | drivers/power/reset/at91-poweroff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/at91-poweroff.c b/drivers/power/reset/at91-poweroff.c index 4b72ea5..9847cfb 100644 --- a/drivers/power/reset/at91-poweroff.c +++ b/drivers/power/reset/at91-poweroff.c @@ -140,7 +140,7 @@ static int at91_poweroff_probe(struct platform_device *pdev) return 0; } -static struct of_device_id at91_poweroff_of_match[] = { +static const struct of_device_id at91_poweroff_of_match[] = { { .compatible = "atmel,at91sam9260-shdwc", }, { .compatible = "atmel,at91sam9rl-shdwc", }, { .compatible = "atmel,at91sam9x5-shdwc", }, |