Commit 29d7a8f9 authored by David Brownell's avatar David Brownell Committed by Kevin Hilman

davinci: emac buildfix

CC      drivers/net/davinci_emac.o
drivers/net/davinci_emac.c: In function 'emac_adjust_link':
drivers/net/davinci_emac.c:2323: error: incompatible type for argument 1 of '_spin_lock_irqsave'
make[2]: *** [drivers/net/davinci_emac.o] Error 1
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 8e64eb49
...@@ -2320,7 +2320,7 @@ static void emac_adjust_link(struct net_device *ndev) ...@@ -2320,7 +2320,7 @@ static void emac_adjust_link(struct net_device *ndev)
unsigned long flags; unsigned long flags;
int new_state = 0; int new_state = 0;
spin_lock_irqsave(priv->lock, flags); spin_lock_irqsave(&priv->lock, flags);
if (phydev->link) { if (phydev->link) {
/* check the mode of operation - full/half duplex */ /* check the mode of operation - full/half duplex */
......
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