]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit24549e2a0f33628b5160eac16c6aebf1cfaf22f1
tree7c5e2715d338bf9af01342d7b4036097b5c6daed
parentf5d12767c8fd77e29d3d6771de59fd9ac3e540bb
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