]> bbs.cooldavid.org Git - net-next-2.6.git/commit
stmmac: make ioaddr 'void __iomem *' rather than unsigned long
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 23 Aug 2010 20:40:42 +0000 (20:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Aug 2010 23:30:51 +0000 (16:30 -0700)
commitad01b7d480a4a135f974afd5c617c417e0b0542f
treebd69865fb4bb323e697d46c8b0365ec1774a9696
parentac75791aa943c7953521cb4fa7728bf51f9abd2d
stmmac: make ioaddr 'void __iomem *' rather than unsigned long

This avoids unnecessary casting and adds the ioaddr in the
private structure.
This patch also removes many warning when compile the driver.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
14 files changed:
drivers/net/stmmac/common.h
drivers/net/stmmac/dwmac1000_core.c
drivers/net/stmmac/dwmac1000_dma.c
drivers/net/stmmac/dwmac100_core.c
drivers/net/stmmac/dwmac100_dma.c
drivers/net/stmmac/dwmac_dma.h
drivers/net/stmmac/dwmac_lib.c
drivers/net/stmmac/enh_desc.c
drivers/net/stmmac/norm_desc.c
drivers/net/stmmac/stmmac.h
drivers/net/stmmac/stmmac_ethtool.c
drivers/net/stmmac/stmmac_main.c
drivers/net/stmmac/stmmac_mdio.c
include/linux/stmmac.h