[PATCH v2] staging: kpc2000: Add dependency on MFD_CORE to kconfig symbol 'KPC2000'

From: Geordan Neukum
Date: Thu May 23 2019 - 22:41:30 EST


The kpc2000 core makes calls against functions conditionally exported
upon selection of the kconfig symbol MFD_CORE. Therefore, the kpc2000
core depends upon the mfd_core, and that dependency must be tracked in
Kconfig to avoid potential build issues.

Signed-off-by: Geordan Neukum <gneukum1@xxxxxxxxx>
---
v2 changes
- base patch on staging-linus
- only add MFD_CORE dependency as the UIO dependency has already been
handled by YueHaibing

drivers/staging/kpc2000/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/staging/kpc2000/Kconfig b/drivers/staging/kpc2000/Kconfig
index febe4f8b30e5..ef0f4abe894a 100644
--- a/drivers/staging/kpc2000/Kconfig
+++ b/drivers/staging/kpc2000/Kconfig
@@ -2,6 +2,7 @@

config KPC2000
bool "Daktronics KPC Device support"
+ depends on MFD_CORE
depends on PCI
depends on UIO
help
--
2.21.0