From: florian Date: Thu, 4 Nov 2010 14:14:06 +0000 (+0000) Subject: backport r23862 X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=4a6b490fea4802ac34102235450e94c558fb73e7;p=10.03%2Fopenwrt.git backport r23862 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23864 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c b/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c index c2f324572..f3a9c74e3 100644 --- a/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c +++ b/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c @@ -247,7 +247,7 @@ mvswitch_config_init(struct phy_device *pdev) pdev->supported = ADVERTISED_100baseT_Full; pdev->advertising = ADVERTISED_100baseT_Full; dev->phy_ptr = priv; - dev->irq = PHY_POLL; + pdev->irq = PHY_POLL; #ifdef HEADER_MODE dev->flags |= IFF_PROMISC; #endif