]> git.baikalelectronics.ru Git - kernel.git/commit
sh_eth: get SH7757 support out of #ifdef
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 7 Jun 2013 13:59:21 +0000 (13:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Jun 2013 06:38:24 +0000 (23:38 -0700)
commitf5ae539162b5550db6bea8ec7d51e59b915606ab
tree7c5e2715d338bf9af01342d7b4036097b5c6daed
parent45ea9f17919590b7346c92b459309f5525b6414d
sh_eth: get SH7757 support out of #ifdef

Get the SH7757 code/data in the driver out of #ifdef by adding "sh7757-ether"
and "sh7757-gether" to the platform driver's ID table.  Note that we can remove
SH_ETH_HAS_BOTH_MODULES and sh_eth_get_cpu_data().
Change the Ether/GEther platform devices' names in the SH platform code
accordingly.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sh/boards/board-sh7757lcr.c
drivers/net/ethernet/renesas/sh_eth.c