Signed-off-by: Chen-Yu Tsai <w...@csie.org>
---
 drivers/net/sunxi_gmac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/sunxi_gmac.c b/drivers/net/sunxi_gmac.c
index b8b9016..98a78c4 100644
--- a/drivers/net/sunxi_gmac.c
+++ b/drivers/net/sunxi_gmac.c
@@ -31,7 +31,7 @@ int sunxi_gmac_initialize(bd_t *bis)
                if (pin == SUNXI_GPA(9) || pin == SUNXI_GPA(14))
                    continue;
 #endif
-               sunxi_gpio_set_cfgpin(pin, 5);
+               sunxi_gpio_set_cfgpin(pin, SUN7I_GPA0_GRXD3);
                sunxi_gpio_set_drv(pin, 3);
        }
 
-- 
1.9.0

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to