diff mbox

RDMA/ipath: Do not build ipath driver without infiniband subsystem

Message ID 1438705021-20337-1-git-send-email-dennis.dalessandro@intel.com (mailing list archive)
State Accepted
Headers show

Commit Message

Dennis Dalessandro Aug. 4, 2015, 4:17 p.m. UTC
From: Dennis Dalessandro <dennis.dalessandro@intel.com>

Moving the ipath driver to staging now requires a guard on the INFINIBAND
subsytem in order to prevent the driver from being built without infiniband
enabled. This will lead to a broken build.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
---
 drivers/staging/ipath/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Doug Ledford Aug. 14, 2015, 8:56 p.m. UTC | #1
On 08/04/2015 12:17 PM, dennis.dalessandro@intel.com wrote:
> From: Dennis Dalessandro <dennis.dalessandro@intel.com>
> 
> Moving the ipath driver to staging now requires a guard on the INFINIBAND
> subsytem in order to prevent the driver from being built without infiniband
> enabled. This will lead to a broken build.
> 
> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>

Picked up, thanks.
diff mbox

Patch

diff --git a/drivers/staging/ipath/Kconfig b/drivers/staging/ipath/Kconfig
index 041ce06..12dcd40 100644
--- a/drivers/staging/ipath/Kconfig
+++ b/drivers/staging/ipath/Kconfig
@@ -1,6 +1,6 @@ 
 config INFINIBAND_IPATH
 	tristate "QLogic HTX HCA support"
-	depends on 64BIT && NET && HT_IRQ
+	depends on 64BIT && NET && HT_IRQ && INFINIBAND
 	---help---
 	This is a driver for the deprecated QLogic Hyper-Transport
 	IB host channel adapter (model QHT7140),