]> 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)
commit67ccff28bb4cbeec2531f47502c4cc6c094fa3f4
tree7c5e2715d338bf9af01342d7b4036097b5c6daed
parentda9ef782d59d4fdd524e24f2c1e607594869f6a6
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