]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/stmmac/stmmac.h
stmmac: make ioaddr 'void __iomem *' rather than unsigned long
[net-next-2.6.git] / drivers / net / stmmac / stmmac.h
index ebebc644b1b8cf7b503fb07ef137cdf323d70a2c..cca53dbac3611cf96b710827370ced3c7f9c1ae0 100644 (file)
@@ -54,6 +54,7 @@ struct stmmac_priv {
        unsigned int dma_buf_sz;
        struct device *device;
        struct mac_device_info *hw;
+       void __iomem *ioaddr;
 
        struct stmmac_extra_stats xstats;
        struct napi_struct napi;
@@ -65,7 +66,7 @@ struct stmmac_priv {
        int phy_mask;
        int (*phy_reset) (void *priv);
        void (*fix_mac_speed) (void *priv, unsigned int speed);
-       void (*bus_setup)(unsigned long ioaddr);
+       void (*bus_setup)(void __iomem *ioaddr);
        void *bsp_priv;
 
        int phy_irq;