]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'mips/mips-for-linux-next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 01:10:53 +0000 (11:10 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Oct 2012 01:10:53 +0000 (11:10 +1000)
Conflicts:
drivers/net/ethernet/octeon/octeon_mgmt.c
drivers/pinctrl/Makefile

1  2 
drivers/net/ethernet/octeon/octeon_mgmt.c
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile

index a688a2ddcfd612866edbce5f8ee08b7f92fbd8e0,5be431c25147d83fa03875dc5d7f47aca396bae2..f97719c48516a037db795c9ee0879c526a062037
@@@ -722,10 -973,8 +973,8 @@@ static int octeon_mgmt_init_phy(struct 
                                   octeon_mgmt_adjust_link, 0,
                                   PHY_INTERFACE_MODE_MII);
  
 -      if (p->phydev == NULL)
 +      if (!p->phydev)
-               return -1;
-       phy_start_aneg(p->phydev);
+               return -ENODEV;
  
        return 0;
  }
index 1ef6e1e8c6c6dac902c486414c164446cc97b290,45d2158a537492cd946aa9d2ee348b7490fad726..638f0e49690d972744c04cca381edbd084d186ac
@@@ -166,17 -156,13 +177,22 @@@ config PINCTRL_COH90
          COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
          ports of 8 GPIO pins each.
  
 +config PINCTRL_SAMSUNG
 +      bool "Samsung pinctrl driver"
 +      select PINMUX
 +      select PINCONF
 +
 +config PINCTRL_EXYNOS4
 +      bool "Pinctrl driver data for Exynos4 SoC"
 +      select PINCTRL_SAMSUNG
 +
  source "drivers/pinctrl/spear/Kconfig"
  
+ config PINCTRL_XWAY
+       bool
+       depends on SOC_TYPE_XWAY
+       depends on PINCTRL_LANTIQ
  endmenu
  
  endif
index 698527dce29dba381062a3425b04dc006b296682,c0566c84d7f030da70bdcf8d0fcd6d9de404dc5c..00eb628cfc09525353afe65aec8c0fe8e7bdc124
@@@ -33,7 -30,7 +34,9 @@@ obj-$(CONFIG_PINCTRL_TEGRA20) += pinctr
  obj-$(CONFIG_PINCTRL_TEGRA30) += pinctrl-tegra30.o
  obj-$(CONFIG_PINCTRL_U300)    += pinctrl-u300.o
  obj-$(CONFIG_PINCTRL_COH901)  += pinctrl-coh901.o
+ obj-$(CONFIG_PINCTRL_XWAY)    += pinctrl-xway.o
+ obj-$(CONFIG_PINCTRL_LANTIQ)  += pinctrl-lantiq.o
 +obj-$(CONFIG_PINCTRL_SAMSUNG) += pinctrl-samsung.o
 +obj-$(CONFIG_PINCTRL_EXYNOS4) += pinctrl-exynos.o
  
  obj-$(CONFIG_PLAT_SPEAR)      += spear/