mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: tglx@linutronix.de
Cc: linux-kernel@vger.kernel.org,
	Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Subject: [PATCH 1/7] clocksource/drivers/sprd: Fix Kconfig dependency
Date: Tue, 29 May 2018 20:26:36 +0200	[thread overview]
Message-ID: <1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org> (raw)
In-Reply-To: <1274a543-02dd-bbf0-c690-b08c788d9e91@linaro.org>

From: Chunyan Zhang <chunyan.zhang@spreadtrum.com>

SPRD arch doesn't select SPRD_TIMER, so this config would not
appear even if ARCH_SPRD is set but COMPILE_TEST not.

Fix the dependency of this config with SPRD arch, and set a
default value for it, also leave other choices for EXPERT.

Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 drivers/clocksource/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 8e8a097..dec0dd8 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -450,8 +450,10 @@ config MTK_TIMER
 	  Support for Mediatek timer driver.
 
 config SPRD_TIMER
-	bool "Spreadtrum timer driver" if COMPILE_TEST
+	bool "Spreadtrum timer driver" if EXPERT
 	depends on HAS_IOMEM
+	depends on (ARCH_SPRD || COMPILE_TEST)
+	default ARCH_SPRD
 	select TIMER_OF
 	help
 	  Enables support for the Spreadtrum timer driver.
-- 
2.7.4

  reply	other threads:[~2018-05-29 18:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-29 18:25 [GIT PULL] clockevents / clocksource changes for 4.18 Daniel Lezcano
2018-05-29 18:26 ` Daniel Lezcano [this message]
2018-05-29 18:26   ` [PATCH 2/7] clocksource/drivers/mips-gic-timer: Add pr_fmt and reword pr_* messages Daniel Lezcano
2018-05-29 18:26   ` [PATCH 3/7] clocksource/drivers/arc_timer: Add comments about locking while read GFRC Daniel Lezcano
2018-05-29 18:26   ` [PATCH 4/7] clocksource/drivers/timer-imx-gpt: Remove outdated file path Daniel Lezcano
2018-05-29 18:26   ` [PATCH 5/7] clocksource/drivers/timer-imx-gpt: Switch to SPDX identifier Daniel Lezcano
2018-05-29 18:26   ` [PATCH 6/7] clocksource/drivers/timer-imx-tpm: " Daniel Lezcano
2018-05-29 18:26   ` [PATCH 7/7] clocksource/drivers/mxs_timer: " Daniel Lezcano

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=1527618402-31974-1-git-send-email-daniel.lezcano@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=chunyan.zhang@spreadtrum.com \
    --cc=linux-kernel@vger.kernel.org \
    --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®