Staging: sep: SEP driver build breaks with CONFIG_PCI=n

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, September 16, 2009 - 9:12 am

Gitweb:     http://git.kernel.org/linus/817bb334337e747a26322e034694042222388cd6
Commit:     817bb334337e747a26322e034694042222388cd6
Parent:     663d8bb0a9971666875551acfc15107a9b09e986
Author:     Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
AuthorDate: Fri Aug 14 15:52:50 2009 +0530
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Tue Sep 15 12:02:15 2009 -0700

    Staging: sep: SEP driver build breaks with CONFIG_PCI=n
    
    next-20090813 randconfig build breaks Discretix SEP driver when
    configured with CONFIG_PCI=n.
    
    drivers/staging/sep/sep_driver.c: In function 'sep_probe':
    drivers/staging/sep/sep_driver.c:2548: error: implicit declaration of function 'pci_dev_get'
    
    This patch adds the dependency on PCI for the DX SEP driver.
    
    Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
    Cc: Alan Cox <alan@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/staging/sep/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/sep/Kconfig b/drivers/staging/sep/Kconfig
index 6ef59f8..0a9c39c 100644
--- a/drivers/staging/sep/Kconfig
+++ b/drivers/staging/sep/Kconfig
@@ -1,7 +1,7 @@
 config DX_SEP
 	tristate "Discretix SEP driver"
 #	depends on MRST
-	depends on RAR_REGISTER
+	depends on RAR_REGISTER && PCI
 	default y
 	help
 	  Discretix SEP driver
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Staging: sep: SEP driver build breaks with CONFIG_PCI=n, Linux Kernel Mailing ..., (Wed Sep 16, 9:12 am)