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>
This commit is contained in:
Jonas Gorski 2018-01-13 18:41:14 +01:00
parent 355009ebe7
commit 457e7a160a

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_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);