From edcbafc836ac407e57f42dc7e984657aa9125fe4 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 4 Nov 2010 14:09:20 +0000 Subject: [PATCH] fix mvswitch PHY polling setting (#8133) SVN-Revision: 23862 --- target/linux/generic/files/drivers/net/phy/mvswitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/generic/files/drivers/net/phy/mvswitch.c b/target/linux/generic/files/drivers/net/phy/mvswitch.c index c2f32457205..f3a9c74e3d9 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