public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ata: fix ARASAN CompactFlash PATA driver dependencies
@ 2014-03-26 14:33 Bartlomiej Zolnierkiewicz
  2014-03-26 14:35 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2014-03-26 14:33 UTC (permalink / raw)
  To: Tejun Heo
  Cc: Viresh Kumar, Shiraz Hashim, linux-ide, spear-devel,
	linux-arm-kernel, linux-kernel

Make pata_arasan_cf host driver depend on ARCH_SPEAR13XX config
option as ARASAN CompactFlash PATA support is specific to ST
SPEAr13xx SoCs and the driver to work requires suitable device
tree node (or platform device) to be defined.  Additionally
allow the driver build if COMPILE_TEST config option is set.

Cc: Viresh Kumar <viresh.linux@gmail.com>
Cc: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
 drivers/ata/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Index: b/drivers/ata/Kconfig
===================================================================
--- a/drivers/ata/Kconfig	2014-03-26 15:09:47.395143062 +0100
+++ b/drivers/ata/Kconfig	2014-03-26 15:21:29.535131088 +0100
@@ -378,6 +378,7 @@ config PATA_AMD
 
 config PATA_ARASAN_CF
 	tristate "ARASAN CompactFlash PATA Controller Support"
+	depends on ARCH_SPEAR13XX || COMPILE_TEST
 	depends on DMADEVICES
 	select DMA_ENGINE
 	help


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ata: fix ARASAN CompactFlash PATA driver dependencies
  2014-03-26 14:33 [PATCH] ata: fix ARASAN CompactFlash PATA driver dependencies Bartlomiej Zolnierkiewicz
@ 2014-03-26 14:35 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2014-03-26 14:35 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz
  Cc: Viresh Kumar, Shiraz Hashim, linux-ide, spear-devel,
	linux-arm-kernel, linux-kernel

On Wed, Mar 26, 2014 at 03:33:37PM +0100, Bartlomiej Zolnierkiewicz wrote:
> Make pata_arasan_cf host driver depend on ARCH_SPEAR13XX config
> option as ARASAN CompactFlash PATA support is specific to ST
> SPEAr13xx SoCs and the driver to work requires suitable device
> tree node (or platform device) to be defined.  Additionally
> allow the driver build if COMPILE_TEST config option is set.
> 
> Cc: Viresh Kumar <viresh.linux@gmail.com>
> Cc: Shiraz Hashim <shiraz.hashim@st.com>
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

Applied to libata/for-3.15.  Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-26 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-26 14:33 [PATCH] ata: fix ARASAN CompactFlash PATA driver dependencies Bartlomiej Zolnierkiewicz
2014-03-26 14:35 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox