From: Davide Ciminaghi <ciminaghi@gnudd.com>
To: jaswinder.singh@linaro.org, will.deacon@arm.com,
linux@arm.linux.org.uk, tglx@linutronix.de, mingo@redhat.com,
hpa@zytor.com, djbw@fb.com, vinod.koul@intel.com,
grant.likely@secretlab.ca, linus.walleij@linaro.org,
rubini@gnudd.com, wim@iguana.be, cjb@laptop.org,
davidb@codeaurora.org, nico@fluxnic.net, ben-linux@fluff.org,
viresh.linux@gmail.com, rajeev-dlh.kumar@st.com
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, giancarlo.asnaghi@st.com
Subject: [PATCH v4 3/7] watchdog: sp805_wdt depends on ARM
Date: Mon, 10 Dec 2012 14:42:32 +0100 [thread overview]
Message-ID: <1355146956-6009-4-git-send-email-ciminaghi@gnudd.com> (raw)
In-Reply-To: <1355146956-6009-1-git-send-email-ciminaghi@gnudd.com>
From: Alessandro Rubini <rubini@gnudd.com>
The SP805 driver is only used by the Spear machines, and uses
writel_relaxed, which is not available on all architectures.
The dependency from CONFIG_ARM avoids compilation problems under
randomconfig when CONFIG_ARM_AMBA is enabled for x86 builds.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com>
Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com>
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index ad1bb93..c76fc07 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -98,7 +98,7 @@ config WM8350_WATCHDOG
config ARM_SP805_WATCHDOG
tristate "ARM SP805 Watchdog"
- depends on ARM_AMBA
+ depends on ARM && ARM_AMBA
select WATCHDOG_CORE
help
ARM Primecell SP805 Watchdog timer. This will reboot your system when
--
1.7.10.4
next prev parent reply other threads:[~2012-12-10 13:44 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-10 13:42 [PATCH v4 0/7] enable support for AMBA drivers under x86 Davide Ciminaghi
2012-12-10 13:42 ` [PATCH v4 1/7] DMA: PL330: use prefix in reg names to build " Davide Ciminaghi
2012-12-11 4:25 ` Jassi Brar
2012-12-10 13:42 ` [PATCH v4 2/7] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/ Davide Ciminaghi
2012-12-10 21:44 ` Linus Walleij
2012-12-10 22:25 ` Davide Ciminaghi
2013-01-13 13:25 ` Vinod Koul
2012-12-10 13:42 ` Davide Ciminaghi [this message]
2012-12-12 21:21 ` [PATCH v4 3/7] watchdog: sp805_wdt depends on ARM Wim Van Sebroeck
2012-12-12 22:20 ` Grant Likely
2012-12-10 13:42 ` [PATCH v4 4/7] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep Davide Ciminaghi
2012-12-10 13:42 ` [PATCH v4 5/7] mmc: use the new <linux/sizes.h> Davide Ciminaghi
2012-12-10 13:42 ` [PATCH v4 6/7] drivers/amba: add support for a PCI bridge Davide Ciminaghi
2012-12-10 13:42 ` [PATCH v4 7/7] x86: add CONFIG_ARM_AMBA, selected by STA2X11 Davide Ciminaghi
2012-12-13 0:48 ` H. Peter Anvin
2012-12-10 22:15 ` [PATCH v4 0/7] enable support for AMBA drivers under x86 David Brown
2012-12-13 0:37 ` H. Peter Anvin
2012-12-13 1:10 ` Grant Likely
2012-12-13 1:16 ` H. Peter Anvin
2012-12-13 2:02 ` H. Peter Anvin
2012-12-13 2:16 ` H. Peter Anvin
2012-12-13 18:14 ` Alessandro Rubini
2013-05-05 12:36 ` Borislav Petkov
2013-05-05 20:24 ` Alessandro Rubini
2013-05-05 20:39 ` Borislav Petkov
2013-05-06 9:41 ` Ingo Molnar
2013-05-06 10:11 ` Borislav Petkov
2013-05-06 9:54 ` Alessandro Rubini
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=1355146956-6009-4-git-send-email-ciminaghi@gnudd.com \
--to=ciminaghi@gnudd.com \
--cc=ben-linux@fluff.org \
--cc=cjb@laptop.org \
--cc=davidb@codeaurora.org \
--cc=djbw@fb.com \
--cc=giancarlo.asnaghi@st.com \
--cc=grant.likely@secretlab.ca \
--cc=hpa@zytor.com \
--cc=jaswinder.singh@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mingo@redhat.com \
--cc=nico@fluxnic.net \
--cc=rajeev-dlh.kumar@st.com \
--cc=rubini@gnudd.com \
--cc=tglx@linutronix.de \
--cc=vinod.koul@intel.com \
--cc=viresh.linux@gmail.com \
--cc=will.deacon@arm.com \
--cc=wim@iguana.be \
/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®