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
Jonas Gorski 2018-01-13 18:41:14 +01:00
parent 355009ebe7
commit 457e7a160a
1 changed files with 1 additions and 1 deletions

View File

@ -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_label = gpio_chip_labels[hw_gpio / 32];
+ ephy_reset.table[0].chip_hwnum = 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; + ephy_reset.table[0].flags = flags;
+ +
+ gpiod_add_lookup_table(&ephy_reset); + gpiod_add_lookup_table(&ephy_reset);