Skip to content

Commit 1d2d8de

Browse files
Jisheng Zhangarndb
authored andcommitted
drivers: firmware: psci: drop duplicate const from psci_of_match
This is to fix below sparse warning: drivers/firmware/psci.c:mmm:nn: warning: duplicate const Signed-off-by: Jisheng Zhang <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent c8f7341 commit 1d2d8de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/psci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ static int __init psci_0_1_init(struct device_node *np)
563563
return err;
564564
}
565565

566-
static const struct of_device_id const psci_of_match[] __initconst = {
566+
static const struct of_device_id psci_of_match[] __initconst = {
567567
{ .compatible = "arm,psci", .data = psci_0_1_init},
568568
{ .compatible = "arm,psci-0.2", .data = psci_0_2_init},
569569
{ .compatible = "arm,psci-1.0", .data = psci_0_2_init},

0 commit comments

Comments
 (0)