From mboxrd@z Thu Jan 1 00:00:00 1970 From: horms@verge.net.au (Simon Horman) Date: Tue, 25 Mar 2014 14:06:27 -0700 Subject: [PATCH] ata: limit sata_rcar host driver to ARCH_SHMOBILE In-Reply-To: <20140325191324.GA3279@htj.dyndns.org> References: <9835622.nRa3VdL61G@amdc1032> <20140325191324.GA3279@htj.dyndns.org> Message-ID: <20140325210627.GF27673@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > > Cc: Magnus Damm > > Signed-off-by: Bartlomiej Zolnierkiewicz > > --- > > 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