Commit fdb26629 authored by Al Viro's avatar Al Viro Committed by Jeff Garzik

gianfar iomem misannotations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 9f30c768
...@@ -130,8 +130,8 @@ static void free_skb_resources(struct gfar_private *priv); ...@@ -130,8 +130,8 @@ static void free_skb_resources(struct gfar_private *priv);
static void gfar_set_multi(struct net_device *dev); static void gfar_set_multi(struct net_device *dev);
static void gfar_set_hash_for_addr(struct net_device *dev, u8 *addr); static void gfar_set_hash_for_addr(struct net_device *dev, u8 *addr);
static void gfar_configure_serdes(struct net_device *dev); static void gfar_configure_serdes(struct net_device *dev);
extern int gfar_local_mdio_write(struct gfar_mii *regs, int mii_id, int regnum, u16 value); extern int gfar_local_mdio_write(struct gfar_mii __iomem *regs, int mii_id, int regnum, u16 value);
extern int gfar_local_mdio_read(struct gfar_mii *regs, int mii_id, int regnum); extern int gfar_local_mdio_read(struct gfar_mii __iomem *regs, int mii_id, int regnum);
#ifdef CONFIG_GFAR_NAPI #ifdef CONFIG_GFAR_NAPI
static int gfar_poll(struct napi_struct *napi, int budget); static int gfar_poll(struct napi_struct *napi, int budget);
#endif #endif
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
* the local mdio pins, which may not be the same as system mdio bus, used for * the local mdio pins, which may not be the same as system mdio bus, used for
* controlling the external PHYs, for example. * controlling the external PHYs, for example.
*/ */
int gfar_local_mdio_write(struct gfar_mii *regs, int mii_id, int gfar_local_mdio_write(struct gfar_mii __iomem *regs, int mii_id,
int regnum, u16 value) int regnum, u16 value)
{ {
/* Set the PHY address and the register address we want to write */ /* Set the PHY address and the register address we want to write */
...@@ -77,7 +77,7 @@ int gfar_local_mdio_write(struct gfar_mii *regs, int mii_id, ...@@ -77,7 +77,7 @@ int gfar_local_mdio_write(struct gfar_mii *regs, int mii_id,
* and are always tied to the local mdio pins, which may not be the * and are always tied to the local mdio pins, which may not be the
* same as system mdio bus, used for controlling the external PHYs, for eg. * same as system mdio bus, used for controlling the external PHYs, for eg.
*/ */
int gfar_local_mdio_read(struct gfar_mii *regs, int mii_id, int regnum) int gfar_local_mdio_read(struct gfar_mii __iomem *regs, int mii_id, int regnum)
{ {
u16 value; u16 value;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment