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
@@ -97,7 +97,7 @@ static struct notifier_block st_restart_nb = {
|
||||
.priority = 192,
|
||||
};
|
||||
|
||||
static struct of_device_id st_reset_of_match[] = {
|
||||
static const struct of_device_id st_reset_of_match[] = {
|
||||
{
|
||||
.compatible = "st,stih415-restart",
|
||||
.data = (void *)&stih415_reset,
|
||||
|
Reference in New Issue
Block a user