[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091104.054519.24849195.davem@davemloft.net>
Date: Wed, 04 Nov 2009 05:45:19 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: Bo.Liu@...driver.com
Cc: khilman@...prootsystems.com,
davinci-linux-open-source-bounces@...ux.davincidsp.com,
netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] DaVinci EMAC: correct param for ISR
From: Tonyliu <Bo.Liu@...driver.com>
Date: Tue, 03 Nov 2009 09:52:22 +0800
> Subject: [PATCH 1/1] 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@...driver.com>
Applied to net-2.6, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists