From: Jean Delvare <jdelvare@suse.de>
To: linux-kernel@vger.kernel.org
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>,
Oleksij Rempel <linux@rempel-privat.de>
Subject: [PATCH] clocksource: asm9260_timer: Add hardware dependency
Date: Fri, 20 Feb 2015 19:29:07 +0100 [thread overview]
Message-ID: <20150220192907.580dce66@endymion.delvare> (raw)
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
reply other threads:[~2015-02-20 18:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150220192907.580dce66@endymion.delvare \
--to=jdelvare@suse.de \
--cc=daniel.lezcano@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rempel-privat.de \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®