bcmring: add gpio support in Kconfig and Makefile
PATCH 2/8 bcmring: add gpio support in Kconfig and Makefile
PATCH 2/8 bcmring: add gpio support in Kconfig and Makefile
Quoted 35 lines · Leo (Hao) Chen
From
4aff48c9134bc44306540bf7220c3546a8a889d2Mon Sep 17 00:00:00 2001
From: Leo Chen <[email protected]>
Date: Wed, 7 Oct 2009 11:43:05 -0700
Subject: [PATCH] bcmring: gpio addition toKconfigandMakefileSigned-off-by Leo Hao Chen <[email protected]>--- arch/arm/Kconfig | 3 ++- arch/arm/mach-bcmring/Makefile | 3 ++- arch/arm/mach-bcmring/csp/Makefile | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-)arch/arm/Kconfig +2
-1@@ -695,10 +695,11 @@ config ARCH_BCMRING depends on MMU select CPU_V6 select ARM_AMBA + select GENERIC_GPIO select COMMON_CLKDEV select GENERIC_TIME select GENERIC_CLOCKEVENTS - select ARCH_WANT_OPTIONAL_GPIOLIB + select ARCH_REQUIRE_GPIOLIB help Support for Broadcom's BCMRing platform.arch/arm/mach-bcmring/Makefile +0
-0
arch/arm/mach-bcmring/Makefile line 9
Quoted 7 lines
arch/arm/mach-bcmring/Makefile +2
-1@@ -4,5 +4,6 @@ # Object file lists. -obj-y := arch.o mm.o irq.o clock.o core.o timer.o dma.o +obj-y := arch.o mm.o irq.o clock.o core.o timer.o dma.o gpio_irq.o obj-y += csp/ +obj-$(CONFIG_ARCH_REQUIRE_GPIOLIB) += gpio.o
If ARCH_BCMRING always has CONFIG_ARCH_REQUIRE_GPIOLIB why not just add gpio.o to the obj-y list?
Regards,
Hartley