generic: rtl8366s: allow initial register values to be passed via platform_data
[openwrt.git] / target / linux / generic / files / drivers / net / phy / mvswitch.c
index c2f3245..f3a9c74 100644 (file)
@@ -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;
        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
 #ifdef HEADER_MODE
        dev->flags |= IFF_PROMISC;
 #endif
This page took 0.0289469999999999 seconds and 4 git commands to generate.