Skip to content
Commit c8ee5538 authored by Tonyliu's avatar Tonyliu Committed by David S. Miller
Browse files

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: default avatarTonyliu <Bo.Liu@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3a19d56c
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