* [PATCH] clocksource: asm9260_timer: Add hardware dependency
@ 2015-02-20 18:29 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2015-02-20 18:29 UTC (permalink / raw)
To: linux-kernel; +Cc: Daniel Lezcano, Thomas Gleixner, Oleksij Rempel
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.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Oleksij Rempel <linux@rempel-privat.de>
---
drivers/clocksource/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-3.20-rc0.orig/drivers/clocksource/Kconfig 2015-02-20 17:24:45.793932950 +0100
+++ linux-3.20-rc0/drivers/clocksource/Kconfig 2015-02-20 19:23:37.624423235 +0100
@@ -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
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-20 18:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-20 18:29 [PATCH] clocksource: asm9260_timer: Add hardware dependency Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®