Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=116ab40df8decf8c519368e31825e9584c86adf2
Commit:     116ab40df8decf8c519368e31825e9584c86adf2
Parent:     952418cd3894cf370cf2c9acdfd498c84c3b7cf9
Author:     Olof Johansson <[EMAIL PROTECTED]>
AuthorDate: Wed Apr 25 09:17:33 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 15:51:56 2007 +1000

    [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: Olof Johansson <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/platforms/pasemi/Kconfig  |    7 +++++++
 arch/powerpc/platforms/pasemi/Makefile |    4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/pasemi/Kconfig 
b/arch/powerpc/platforms/pasemi/Kconfig
index 64e5525..eb4dbc7 100644
--- a/arch/powerpc/platforms/pasemi/Kconfig
+++ b/arch/powerpc/platforms/pasemi/Kconfig
@@ -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
diff --git a/arch/powerpc/platforms/pasemi/Makefile 
b/arch/powerpc/platforms/pasemi/Makefile
index e90265f..7ffd43b 100644
--- a/arch/powerpc/platforms/pasemi/Makefile
+++ b/arch/powerpc/platforms/pasemi/Makefile
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to