Commit 817bb334 authored by Kamalesh Babulal's avatar Kamalesh Babulal Committed by Greg Kroah-Hartman

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: default avatarKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 663d8bb0
config DX_SEP config DX_SEP
tristate "Discretix SEP driver" tristate "Discretix SEP driver"
# depends on MRST # depends on MRST
depends on RAR_REGISTER depends on RAR_REGISTER && PCI
default y default y
help help
Discretix SEP driver Discretix SEP driver
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment