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>
This commit is contained in:
Fabian Frederick
2015-03-16 20:17:12 +01:00
committed by Sebastian Reichel
parent 039ab50bda
commit 8fb0885504
10 changed files with 11 additions and 11 deletions

View File

@@ -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" },
{}
};