All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Conditionally compile counter_32k
@ 2012-11-26  9:28 Alessio Igor Bogani
  2012-11-26 12:02 ` Igor Grinberg
  0 siblings, 1 reply; 4+ messages in thread
From: Alessio Igor Bogani @ 2012-11-26  9:28 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap, linux-kernel, Alessio Igor Bogani

The 32K timer isn't available on all OMAP devices.

Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.trieste.it>
---
 arch/arm/plat-omap/Makefile |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile
index 8d88584..b1b321c 100644
--- a/arch/arm/plat-omap/Makefile
+++ b/arch/arm/plat-omap/Makefile
@@ -3,11 +3,13 @@
 #
 
 # Common support
-obj-y := sram.o dma.o fb.o counter_32k.o
+obj-y := sram.o dma.o fb.o
 obj-m :=
 obj-n :=
 obj-  :=
 
+obj-$(CONFIG_OMAP_32K_TIMER) += counter_32k.o
+
 # omap_device support (OMAP2+ only at the moment)
 
 obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o
-- 
1.7.9.5

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

end of thread, other threads:[~2012-11-26 14:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-26  9:28 [PATCH] ARM: OMAP: Conditionally compile counter_32k Alessio Igor Bogani
2012-11-26 12:02 ` Igor Grinberg
2012-11-26 13:15   ` Alessio Igor Bogani
2012-11-26 14:09     ` Igor Grinberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.