aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-11-04 14:09:20 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-11-04 14:09:20 +0000
commit88b66099074eedbc462d5b5891c8b603f3f4fcd5 (patch)
treed3a6b501cb2f0c90a789d02725f183a43c859122 /target/linux/generic
parent09f68e4a53d04a2371dd830faa0959621d63dad4 (diff)
downloadupstream-88b66099074eedbc462d5b5891c8b603f3f4fcd5.tar.gz
upstream-88b66099074eedbc462d5b5891c8b603f3f4fcd5.tar.bz2
upstream-88b66099074eedbc462d5b5891c8b603f3f4fcd5.zip
[kernel] fix mvswitch PHY polling setting (#8133)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23862 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/files/drivers/net/phy/mvswitch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/mvswitch.c b/target/linux/generic/files/drivers/net/phy/mvswitch.c
index c2f3245720..f3a9c74e3d 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