Subject: [PATCH 03/15] serial: sh-sci: Restrict non-COMPILE_TEST compilation

From: [email-masked] (Laurent Pinchart)
Date: Tue, 24 Dec 2013 13:03:10 +0100

Hi Simon,

On Wednesday 11 December 2013 13:44:54 Laurent Pinchart wrote:
> Hi Simon,
> 
> Could you please add this patch to your tree with the "[PATCH 00/47] sh-sci
> updates for v3.14" series ?

I've updated all my pending branches to your latest devel tag and this patch 
is missing. Could you please pick it up ?

> On Thursday 28 November 2013 16:37:11 Simon Horman wrote:
> > 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 <[email-masked]>
> > > Cc: linux-serial at vger.kernel.org
> > > Signed-off-by: Laurent Pinchart
> > > <[email-masked]>
> > 
> > Acked-by: Simon Horman <[email-masked]>
> > 
> > > ---
> > > 
> > >  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

-- 
Regards,

Laurent Pinchart