From: Kamalesh Babulal Date: Fri, 14 Aug 2009 10:22:50 +0000 (+0530) Subject: Staging: sep: SEP driver build breaks with CONFIG_PCI=n X-Git-Tag: v2.6.32-rc1~668^2~180 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=817bb334337e747a26322e034694042222388cd6;p=~shefty%2Frdma-dev.git 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 Cc: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sep/Kconfig b/drivers/staging/sep/Kconfig index 6ef59f8d242..0a9c39c7f2b 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