]> err.no Git - linux-2.6/commitdiff
[POWERPC] pasemi: Kconfig for gpio_mdio
authorOlof Johansson <olof@lixom.net>
Tue, 24 Apr 2007 23:17:33 +0000 (09:17 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 27 Apr 2007 05:51:56 +0000 (15:51 +1000)
arch/powerpc/platforms/pasemi/gpio_mdio.c really depends on CONFIG_PHYLIB.
Add a config option for it, allow for it to be disabled if needed and fix
the dependency.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pasemi/Kconfig
arch/powerpc/platforms/pasemi/Makefile

index 64e55250ef46e94837c16ea3fbdc754e4c8198d0..eb4dbc705b0654b771f4de03548084499185d854 100644 (file)
@@ -19,4 +19,11 @@ config PPC_PASEMI_IOMMU
        help
          IOMMU support for PA6T-1682M
 
+config PPC_PASEMI_MDIO
+       depends on PHYLIB
+       tristate "MDIO support via GPIO"
+       default y
+       help
+         Driver for MDIO via GPIO on PWRficient platforms
+
 endmenu
index e90265f610ef0fbd0e3e9c4f29dbaaf54d9bc093..7ffd43b43e022ad838dc967a9ced3c53ef512742 100644 (file)
@@ -1,2 +1,2 @@
-obj-y  += setup.o pci.o time.o idle.o powersave.o iommu.o gpio_mdio.o
-
+obj-y  += setup.o pci.o time.o idle.o powersave.o iommu.o
+obj-$(CONFIG_PPC_PASEMI_MDIO)  += gpio_mdio.o