sh_eth: get R8A777x support out of #ifdef
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 7 Jun 2013 14:05:59 +0000 (14:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Jun 2013 06:38:24 +0000 (23:38 -0700)
commit589ebdef7e3107401bf96a9c660753d397329ee9
treee6247ac75c5992bbfad453c3c50526d540945901
parent9c3beaabb951d672b1534c7f56f84054b088f879
sh_eth: get R8A777x support out of #ifdef

Get the R-Car code/data in the driver out of #ifdef by adding "r8a777x-ether" to
the platfrom driver's  ID table; since it's the last #ifdef, we remove CARDNAME
from the  ID table and no longer check  the driver data before  assigning it to
'mdp->cd'...
Change the Ether platform device's name in the ARM platform code accordingly.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/mach-shmobile/clock-r8a7778.c
arch/arm/mach-shmobile/clock-r8a7779.c
drivers/net/ethernet/renesas/sh_eth.c