]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
Staging: sep: SEP driver build breaks with CONFIG_PCI=n
authorKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Fri, 14 Aug 2009 10:22:50 +0000 (15:52 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:15 +0000 (12:02 -0700)
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

index 6ef59f8d242e08a6648241632b8f1306d7faeacf..0a9c39c7f2bd24f179735464ce08500475dc5d4f 100644 (file)
@@ -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