linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/8] bcmring: add gpio support in Kconfig and Makefile
@ 2009-10-09 21:12 Leo (Hao) Chen
  2009-10-09 21:22 ` H Hartley Sweeten
  0 siblings, 1 reply; 2+ messages in thread
From: Leo (Hao) Chen @ 2009-10-09 21:12 UTC (permalink / raw)
  To: linux-arm-kernel



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 2/8] bcmring: add gpio support in Kconfig and Makefile
  2009-10-09 21:12 [PATCH 2/8] bcmring: add gpio support in Kconfig and Makefile Leo (Hao) Chen
@ 2009-10-09 21:22 ` H Hartley Sweeten
  0 siblings, 0 replies; 2+ messages in thread
From: H Hartley Sweeten @ 2009-10-09 21:22 UTC (permalink / raw)
  To: linux-arm-kernel

On Friday, October 09, 2009 2:12 PM, Leo (Hao) Chen wrote:
> From 4aff48c9134bc44306540bf7220c3546a8a889d2 Mon Sep 17 00:00:00 2001
> From: Leo Chen <leochen@broadcom.com>
> Date: Wed, 7 Oct 2009 11:43:05 -0700
> Subject: [PATCH] bcmring: gpio addition to Kconfig and Makefile
> 
> 
> Signed-off-by: Leo Hao Chen <leochen@broadcom.com>
> ---
>  arch/arm/Kconfig                   |    3 ++-
>  arch/arm/mach-bcmring/Makefile     |    3 ++-
>  arch/arm/mach-bcmring/csp/Makefile |    2 ++
>  3 files changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 1c4119c..d22af37 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -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.
>  
> diff --git a/arch/arm/mach-bcmring/Makefile b/arch/arm/mach-bcmring/Makefile
> index f8d9fce..b629869 100644
> --- a/arch/arm/mach-bcmring/Makefile
> +++ b/arch/arm/mach-bcmring/Makefile
> @@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-09 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-09 21:12 [PATCH 2/8] bcmring: add gpio support in Kconfig and Makefile Leo (Hao) Chen
2009-10-09 21:22 ` H Hartley Sweeten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).