[PATCH] ata: limit sata_rcar host driver to ARCH_SHMOBILE

Simon Horman horms at verge.net.au
Tue Mar 25 17:06:27 EDT 2014


On Tue, Mar 25, 2014 at 03:13:24PM -0400, Tejun Heo wrote:
> On Tue, Mar 25, 2014 at 08:10:27PM +0100, Bartlomiej Zolnierkiewicz wrote:
> > Limit sata_rcar host driver to ARCH_SHMOBILE as Renesas R-Car SATA
> > support is specific to Renesas SoCs and the driver to work requires
> > suitable device tree node (or platform device) to be defined.
> > 
> > Cc: Simon Horman <horms at verge.net.au>
> > Cc: Magnus Damm <magnus.damm at gmail.com>
> > Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
> > ---
> >  drivers/ata/Kconfig |    1 +
> >  1 file changed, 1 insertion(+)
> > 
> > Index: b/drivers/ata/Kconfig
> > ===================================================================
> > --- a/drivers/ata/Kconfig	2014-03-25 19:52:31.952327027 +0100
> > +++ b/drivers/ata/Kconfig	2014-03-25 19:57:21.104322097 +0100
> > @@ -298,6 +298,7 @@ config SATA_PROMISE
> >  
> >  config SATA_RCAR
> >  	tristate "Renesas R-Car SATA support"
> > +	depends on ARCH_SHMOBILE
> 
> COMPILE_TEST?

I think the following would make sense:

	depends on ARCH_SHMOBILE || COMPILE_TEST



More information about the linux-arm-kernel mailing list