ath79: fix gmac compatible in ar9330.dtsi and ag71xx_setup_gmac_933x
authorJohann Neuhauser <johann@it-neuhauser.de>
Sat, 12 May 2018 20:25:35 +0000 (22:25 +0200)
committerJohn Crispin <john@phrozen.org>
Tue, 15 May 2018 04:38:07 +0000 (06:38 +0200)
commitc15dfbeea004d2e5e0710f4216590d4207bbc998
tree25584b485c8b3a24a7c0020afbd6319da3ceaf9f
parent96f4792fdb036ecf5c8417fce6503412b0b27e5f
ath79: fix gmac compatible in ar9330.dtsi and ag71xx_setup_gmac_933x

1. compatible property in node gmac was wrong

2. ag71xx_setup_gmac_933x should use np of gmac-config and
   not the pointer to gmac. gmac is only used for the reg address.

Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
target/linux/ath79/dts/ar9330.dtsi
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c