Skip to contentSkip to conversation

clocksource: asm9260_timer: Add hardware dependency

PATCH New Jean Delvare 1 participant 1 message Feb 20, 2015 Clocksource, clockevent drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clocksource: asm9260_timer: Add hardware dependency

The asm9260_timer driver is useless if not building a MACH_ASM9260 kernel, so add the proper dependency to hide it for all other users by default.

Cc Daniel Lezcano <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Oleksij Rempel <[email protected]>
---
 drivers/clocksource/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/clocksource/Kconfig +1 -0
@@ -249,6 +249,7 @@ config CLKSRC_PXA
 config ASM9260_TIMER
 	bool "Alphascale ASM9260 timer driver"
 	depends on GENERIC_CLOCKEVENTS
+	depends on MACH_ASM9260 || COMPILE_TEST
 	select CLKSRC_MMIO
 	select CLKSRC_OF
 	default y if MACH_ASM9260
Signature · 2 lines
Jean Delvare
SUSE L3 Support