]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libata: make AHCI_XGENE depend on PHY_XGENE
authorTejun Heo <tj@kernel.org>
Wed, 2 Apr 2014 16:41:59 +0000 (12:41 -0400)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:23 +0000 (21:17 -0600)
commit8a62df7334e1287a2057934497fd9e3c2c9ea61f
treee5de9f90967996002199f2f6813c0a0618b9e8df
parent8155d533b1d352e9fc7e3baa8b8f4d5551338dc8
libata: make AHCI_XGENE depend on PHY_XGENE

AHCI_XGENE is only applicable on ARM64 but it can also be enabled for
compile testing; however, AHCI_XGENE selects PHY_XGENE which has other
arch specific dependencies.  This leads to the following warning when
enabling it on other archs for compile testing.

  warning: (AHCI_XGENE) selects PHY_XGENE which has unmet direct
  dependencies (HAS_IOMEM && OF && (ARM64 || COMPILE_TEST))

Selecting a config option which itself has dependencies can easily
lead to broken configurations.  For now, let's just make AHCI_XGENE
depend on PHY_XGENE which has all the necessary dependencies already.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Loc Ho <lho@apm.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
(cherry picked from commit 74c03eb63061c834893e7ebf8d298573bdccfd08)
drivers/ata/Kconfig