]> git.baikalelectronics.ru Git - kernel.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)
commitb2aa4e93cb76bbe95123e6877adf5d8d039786d7
treebd69865fb4bb323e697d46c8b0365ec1774a9696
parentbb879a4da17206e7ee7c2fec92aaeb9883c32dd6
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