mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
gianfar iomem misannotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
9f30c768c0
commit
fdb26629f3
2 changed files with 4 additions and 4 deletions
|
@ -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_hash_for_addr(struct net_device *dev, u8 *addr);
|
||||
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_read(struct gfar_mii *regs, int mii_id, int regnum);
|
||||
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 __iomem *regs, int mii_id, int regnum);
|
||||
#ifdef CONFIG_GFAR_NAPI
|
||||
static int gfar_poll(struct napi_struct *napi, int budget);
|
||||
#endif
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
* the local mdio pins, which may not be the same as system mdio bus, used for
|
||||
* 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)
|
||||
{
|
||||
/* 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,
|
|||
* 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.
|
||||
*/
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue