From: florian Date: Thu, 4 Nov 2010 14:09:20 +0000 (+0000) Subject: [kernel] fix mvswitch PHY polling setting (#8133) X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/61c948163d164c338de3bb040422b00c9a217f9b [kernel] fix mvswitch PHY polling setting (#8133) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23862 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/generic/files/drivers/net/phy/mvswitch.c b/target/linux/generic/files/drivers/net/phy/mvswitch.c index c2f324572..f3a9c74e3 100644 --- a/target/linux/generic/files/drivers/net/phy/mvswitch.c +++ b/target/linux/generic/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