summaryrefslogtreecommitdiff
path: root/drivers/staging/dgnc
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-08-26 03:55:50 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-26 13:29:09 (GMT)
commitb0b15cb27d0ae43ea15e10c7693781e92e92a370 (patch)
tree65875e769bcd94af05b094c686a7c0f1f90b50f1 /drivers/staging/dgnc
parent2b2843264260d4d6c4afd0fecf6082736ff86b78 (diff)
downloadlinux-fsl-qoriq-b0b15cb27d0ae43ea15e10c7693781e92e92a370.tar.xz
staging: dgnc: Kconfig: add dependency PCI for it
DGNC is based on PCI, so need add related dependency, or when compiled with PCI disabled, it will be fail. The related error (randconfig for PCI disabled under s390): drivers/staging/dgnc/dgnc_cls.c:1394:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration] drivers/staging/dgnc/dgnc_cls.c:1407:3: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration] Cc: Lidza Louina <lidza.louina@gmail.com> Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r--drivers/staging/dgnc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dgnc/Kconfig b/drivers/staging/dgnc/Kconfig
index 23daaa5..032c2a7 100644
--- a/drivers/staging/dgnc/Kconfig
+++ b/drivers/staging/dgnc/Kconfig
@@ -1,6 +1,6 @@
config DGNC
tristate "Digi Neo and Classic PCI Products"
default n
- depends on TTY
+ depends on TTY && PCI
---help---
Driver for the Digi International Neo and Classic PCI based product line.