Skip to contentSkip to conversation

ata: limit sata_rcar host driver to ARCH_SHMOBILE

PATCH In review Bartlomiej Zolnierkiewicz 3 participants 3 messages Mar 25, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ata: limit sata_rcar host driver to ARCH_SHMOBILE

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.

---
 drivers/ata/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/ata/Kconfig +1 -0
Index: b/drivers/ata/Kconfig
===================================================================
@@ -298,6 +298,7 @@ config SATA_PROMISE
 
 config SATA_RCAR
 	tristate "Renesas R-Car SATA support"
+	depends on ARCH_SHMOBILE
 	help
 	  This option enables support for Renesas R-Car Serial ATA.
 
#1 lore raw
Quoted 16 lines · Bartlomiej Zolnierkiewicz

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.

---
 drivers/ata/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Index: b/drivers/ata/Kconfig
===================================================================

drivers/ata/Kconfig config SATA_PROMISE · line 301

Quoted 4 lines
drivers/ata/Kconfig +1 -0
@@ -298,6 +298,7 @@ config SATA_PROMISE
 
 config SATA_RCAR
 	tristate "Renesas R-Car SATA support"
+	depends on ARCH_SHMOBILE

COMPILE_TEST?

Signature · 1 line
tejun
#2 lore raw
Quoted 18 lines · Tejun Heo
Quoted 17 lines · Bartlomiej Zolnierkiewicz

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.

---
 drivers/ata/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Index: b/drivers/ata/Kconfig
===================================================================

drivers/ata/Kconfig +0 -0
@@ -298,6 +298,7 @@ config SATA_PROMISE
 
Quoted 5 lines

drivers/ata/Kconfig config SATA_PROMISE · line 301

Quoted 3 lines
drivers/ata/Kconfig +1 -0
 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