linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jean Delvare <jdelvare@suse.de>
To: Alan Cox <alan@linux.intel.com>
Cc: linux-serial@vger.kernel.org
Subject: [PATCH] serial: SERIAL_MRST_MAX3110 should depend on X86_MRST
Date: Fri, 16 Sep 2011 22:40:16 +0200	[thread overview]
Message-ID: <201109162240.16874.jdelvare@suse.de> (raw)

As I understand it, driver mrst_max3110 is only useful on Moorestown
systems, so it should depend on X86_MRST.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Alan Cox <alan@linux.intel.com>
---
There are a few other drivers in a similar situation
(i2c/busses/i2c-intel-mid, gpio/langwell_gpio, tty/serial/mfd,
staging/sep) for which I suspect the same should be done,
assuming that X86_MRST is for both Moorestown and Medfield.

 drivers/tty/serial/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.1-rc4.orig/drivers/tty/serial/Kconfig	2011-08-16 11:49:57.000000000 +0200
+++ linux-3.1-rc4/drivers/tty/serial/Kconfig	2011-09-16 22:03:32.000000000 +0200
@@ -695,7 +695,7 @@ config SERIAL_SA1100_CONSOLE
 
 config SERIAL_MRST_MAX3110
 	tristate "SPI UART driver for Max3110"
-	depends on SPI_DW_PCI
+	depends on X86_MRST && SPI_DW_PCI
 	select SERIAL_CORE
 	select SERIAL_CORE_CONSOLE
 	help

-- 
Jean Delvare
Suse L3

             reply	other threads:[~2011-09-16 20:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16 20:40 Jean Delvare [this message]
2011-09-17 11:28 ` [PATCH] serial: SERIAL_MRST_MAX3110 should depend on X86_MRST Alan Cox
2011-09-27 11:01 ` Alan Cox
2011-09-27 12:10   ` 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=201109162240.16874.jdelvare@suse.de \
    --to=jdelvare@suse.de \
    --cc=alan@linux.intel.com \
    --cc=linux-serial@vger.kernel.org \
    /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).