Commit 116ab40d authored by Olof Johansson's avatar Olof Johansson Committed by Paul Mackerras

[POWERPC] pasemi: Kconfig for gpio_mdio

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: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 952418cd
...@@ -19,4 +19,11 @@ config PPC_PASEMI_IOMMU ...@@ -19,4 +19,11 @@ config PPC_PASEMI_IOMMU
help help
IOMMU support for PA6T-1682M 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 endmenu
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment