net: sh_eth: Use u32 for 32-bit register data
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 15 Jan 2015 10:54:28 +0000 (11:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2015 19:10:27 +0000 (14:10 -0500)
commit0799c2d6f42db2b275b6479035f5b7a30ef4ee39
treed5de5899479f741487eeb6c9b30b4c4e6304fbfb
parent7994fe55a4a2009d9e9153ded4ac4369d1adaaa3
net: sh_eth: Use u32 for 32-bit register data

Replace "unsigned long" by "u32" when handling 32-bit register data.

A.o., this saves 11 * 36 bytes in the static sh_eth_cpu_data structures
when compiling for 64-bit.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c
drivers/net/ethernet/renesas/sh_eth.h