From: David Brownell <dbrown...@users.sourceforge.net>

  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: David Brownell <dbrown...@users.sourceforge.net>
---
 drivers/net/davinci_emac.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/davinci_emac.c
+++ b/drivers/net/davinci_emac.c
@@ -2320,7 +2320,7 @@ static void emac_adjust_link(struct net_
        unsigned long flags;
        int new_state = 0;
 
-       spin_lock_irqsave(priv->lock, flags);
+       spin_lock_irqsave(&priv->lock, flags);
 
        if (phydev->link) {
                /* check the mode of operation - full/half duplex */

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to