Skip to content

Commit

Permalink
Staging: sep: SEP driver build breaks with CONFIG_PCI=n
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kamalesh Babulal authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 663d8bb commit 817bb33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/sep/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 817bb33

Please sign in to comment.