Changeset 38368


Ignore:
Timestamp:
2013-10-12T12:50:39+02:00 (4 years ago)
Author:
jogo
Message:

mvswitch: fix compilation for linux 3.10

Signed-off-by: Jonas Gorski <jogo@…>

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/patches-3.10/731-phy_mvswitch_3.10_compilation.patch

    r38367 r38368  
    1 --- a/drivers/net/ethernet/ar231x/ar231x.c 
    2 +++ b/drivers/net/ethernet/ar231x/ar231x.c 
    3 @@ -1291,7 +1291,7 @@ static int ar231x_mdiobus_probe (struct 
    4         BUG_ON(!phydev); 
    5         BUG_ON(phydev->attached_dev); 
    6   
    7 -       phydev = phy_connect(dev, dev_name(&phydev->dev), &ar231x_adjust_link, 0, 
    8 +       phydev = phy_connect(dev, dev_name(&phydev->dev), &ar231x_adjust_link, 
    9                 PHY_INTERFACE_MODE_MII); 
    10   
    11         if (IS_ERR(phydev)) { 
     1From e6a5abb9a02be0bceb4782d9f736bfb4ae217505 Mon Sep 17 00:00:00 2001 
     2From: Jonas Gorski <jogo@openwrt.org> 
     3Date: Sat, 21 Sep 2013 13:56:51 +0200 
     4Subject: [PATCH] phy: mvswitch: fix 3.10 compilation 
     5 
     6Update to API changes in 3.10. 
     7 
     8Signed-off-by: Jonas Gorsi <jogo@openwrt.org> 
     9--- 
     10 target/linux/generic/files/drivers/net/phy/mvswitch.c | 6 +++--- 
     11 1 file changed, 3 insertions(+), 3 deletions(-) 
     12 
    1213--- a/drivers/net/phy/mvswitch.c 
    1314+++ b/drivers/net/phy/mvswitch.c 
Note: See TracChangeset for help on using the changeset viewer.