linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jean Delvare <jdelvare@suse.de>
To: linux-watchdog@vger.kernel.org
Cc: Justin Chen <justinpopo6@gmail.com>,
	Guenter Roeck <linux@roeck-us.net>,
	Wim Van Sebroeck <wim@iguana.be>
Subject: [PATCH] watchdog: Add hardware dependency to BCM7038 driver
Date: Mon, 22 Feb 2016 12:11:32 +0100	[thread overview]
Message-ID: <20160222121132.665b1f77@endymion> (raw)

The BCM7038 is a MIPS chip so do not present its driver on other
architectures, unless build-testing.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Justin Chen <justinpopo6@gmail.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Wim Van Sebroeck <wim@iguana.be>
---
 drivers/watchdog/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-4.5-rc5.orig/drivers/watchdog/Kconfig	2016-02-21 13:44:07.845576963 +0100
+++ linux-4.5-rc5/drivers/watchdog/Kconfig	2016-02-22 12:07:20.865871451 +0100
@@ -1377,6 +1377,7 @@ config BCM7038_WDT
 	tristate "BCM7038 Watchdog"
 	select WATCHDOG_CORE
 	depends on HAS_IOMEM
+	depends on MIPS || COMPILE_TEST
 	help
 	 Watchdog driver for the built-in hardware in Broadcom 7038 SoCs.
 


-- 
Jean Delvare
SUSE L3 Support

             reply	other threads:[~2016-02-22 11:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-22 11:11 Jean Delvare [this message]
2016-02-22 14:49 ` [PATCH] watchdog: Add hardware dependency to BCM7038 driver Guenter Roeck
2016-02-22 17:58   ` Justin Chen
2016-02-22 18:43     ` Jean Delvare
2016-02-22 19:16       ` Justin Chen
2016-02-23  0:16         ` Guenter Roeck
2016-02-23  0:27           ` Justin Chen
2016-02-24 13:37             ` Jean Delvare

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=20160222121132.665b1f77@endymion \
    --to=jdelvare@suse.de \
    --cc=justinpopo6@gmail.com \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --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;
as well as URLs for NNTP newsgroup(s).