mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
DaVinci EMAC: correct param for ISR
emac_irq is declared as: static irqreturn_t emac_irq(int irq, void *dev_id) { struct net_device *ndev = (struct net_device *)dev_id; struct emac_priv *priv = netdev_priv(ndev); ... Clearly emac_irq() needs "struct net_device *" as "void *dev_id", so correct this. Signed-off-by: Tonyliu <Bo.Liu@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3a19d56c71
commit
c8ee5538b0
1 changed files with 1 additions and 1 deletions
|
@ -2221,7 +2221,7 @@ void emac_poll_controller(struct net_device *ndev)
|
|||
struct emac_priv *priv = netdev_priv(ndev);
|
||||
|
||||
emac_int_disable(priv);
|
||||
emac_irq(ndev->irq, priv);
|
||||
emac_irq(ndev->irq, ndev);
|
||||
emac_int_enable(priv);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue