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)
commit10b9194f959608368ed89df1937f17cfe6bd6d84
tree867eec7da75983ee378204b8bdbeefc26301c336
parent6bafd6436e99d08e8def37ae9f790e1aff871bae
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