mirror of https://github.com/hak5/openwrt.git
brcm63xx: fix ephy reset gpio lookup
The lookup needs to be called just "reset" for the common code.
Fixes: 054c0d4e31
("brcm63xx: backport mdio-bus reset gpio support")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
openwrt-18.06
parent
355009ebe7
commit
457e7a160a
|
@ -87,7 +87,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
|||
+
|
||||
+ ephy_reset.table[0].chip_label = gpio_chip_labels[hw_gpio / 32];
|
||||
+ ephy_reset.table[0].chip_hwnum = hw_gpio % 32;
|
||||
+ ephy_reset.table[0].con_id = "ephy-reset";
|
||||
+ ephy_reset.table[0].con_id = "reset";
|
||||
+ ephy_reset.table[0].flags = flags;
|
||||
+
|
||||
+ gpiod_add_lookup_table(&ephy_reset);
|
||||
|
|
Loading…
Reference in New Issue