From b0b15cb27d0ae43ea15e10c7693781e92e92a370 Mon Sep 17 00:00:00 2001 From: Chen Gang Date: Mon, 26 Aug 2013 11:55:50 +0800 Subject: [PATCH] staging: dgnc: Kconfig: add dependency PCI for it MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Chen Gang Signed-off-by: Greg Kroah-Hartman --- drivers/staging/dgnc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/dgnc/Kconfig b/drivers/staging/dgnc/Kconfig index 23daaa5d520e..032c2a795238 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. -- 2.20.1