From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Date: Thu, 28 Nov 2013 07:37:11 +0000 Subject: Re: [PATCH 03/15] serial: sh-sci: Restrict non-COMPILE_TEST compilation Message-Id: <20131128073711.GF24146@verge.net.au> List-Id: References: <1385515117-23664-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> <1385515117-23664-4-git-send-email-laurent.pinchart+renesas@ideasonboard.com> In-Reply-To: <1385515117-23664-4-git-send-email-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On Wed, Nov 27, 2013 at 02:18:25AM +0100, Laurent Pinchart wrote: > Hardware supported by the driver is only found on SUPERH or > ARCH_SHMOBILE platforms. Restrict non-COMPILE_TEST compilation to them. > > Cc: Greg Kroah-Hartman > Cc: linux-serial@vger.kernel.org > Signed-off-by: Laurent Pinchart Acked-by: Simon Horman > --- > drivers/tty/serial/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig > index a3817ab..a640d0b 100644 > --- a/drivers/tty/serial/Kconfig > +++ b/drivers/tty/serial/Kconfig > @@ -709,7 +709,8 @@ config SERIAL_IP22_ZILOG_CONSOLE > > config SERIAL_SH_SCI > tristate "SuperH SCI(F) serial port support" > - depends on HAVE_CLK && (SUPERH || ARM || COMPILE_TEST) > + depends on HAVE_CLK > + depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST > select SERIAL_CORE > > config SERIAL_SH_SCI_NR_UARTS > -- > 1.8.3.2 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-sh" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >