]> git.baikalelectronics.ru Git - kernel.git/commit
net: sh_eth: fix endian check for architecture independent
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 29 Mar 2012 19:32:08 +0000 (19:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 03:22:11 +0000 (23:22 -0400)
commitc98aa568eebba6acd7d15161aa2837e494f5f263
tree867eec7da75983ee378204b8bdbeefc26301c336
parentf8f84aff7296d8abd6ec5803faaf032f19c1253a
net: sh_eth: fix endian check for architecture independent

SuperH has the "CONFIG_CPU_LITTLE_ENDIAN" and the "__LITTLE_ENDIAN__".
But, other architecture doesn't have them. So, this patch fixes it.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c
drivers/net/ethernet/renesas/sh_eth.h