lkml.org 
[lkml]   [2008]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH next-20080704] Fix compile error in drivers/net/mv643xx_eth.c
drivers/net/mv643xx_eth.c: In function 'mv643xx_eth_netpoll':
drivers/net/mv643xx_eth.c:2115: error: 'INT_CAUSE_EXT' undeclared (first use in this function)
drivers/net/mv643xx_eth.c:2115: error: (Each undeclared identifier is reported only once
drivers/net/mv643xx_eth.c:2115: error: for each function it appears in.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

---
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index 83a877f..cb2c065 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -2112,7 +2112,8 @@ static void mv643xx_eth_netpoll(struct net_device *dev)

mv643xx_eth_irq(dev->irq, dev);

- wrl(mp, INT_MASK(mp->port_num), INT_TX_END | INT_RX | INT_CAUSE_EXT);
+ wrl(mp, INT_MASK(mp->port_num),
+ INT_TX_END | INT_RX | INT_CAUSE_EXT(mp->port_num));
}
#endif


\
 
 \ /
  Last update: 2008-07-04 18:35    [W:0.235 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site