lkml.org 
[lkml]   [2009]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] Staging: sep: should depend on PCI
Date
Fix this build error when CONFIG_PCI is not set
drivers/staging/sep/sep_driver.c:2548: error: implicit declaration of function 'pci_dev_get'

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
drivers/staging/sep/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/sep/Kconfig b/drivers/staging/sep/Kconfig
index 6ef59f8..2045809 100644
--- a/drivers/staging/sep/Kconfig
+++ b/drivers/staging/sep/Kconfig
@@ -2,6 +2,7 @@ config DX_SEP
tristate "Discretix SEP driver"
# depends on MRST
depends on RAR_REGISTER
+ depends on PCI
default y
help
Discretix SEP driver
--
1.6.4


\
 
 \ /
  Last update: 2009-08-18 11:57    [W:0.207 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site