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:

committed by
Sebastian Reichel

parent
039ab50bda
commit
8fb0885504
@@ -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" },
|
||||
{}
|
||||
};
|
||||
|
Reference in New Issue
Block a user