[PATCH 2/2] staging: kpc2000: add missing dependencies for kpc2000

From: Simon SandstrÃm
Date: Fri May 24 2019 - 16:34:12 EST


Fixes build errors:

ERROR: "mfd_remove_devices" [kpc2000.ko] undefined!
ERROR: "uio_unregister_device" [kpc2000.ko] undefined!
ERROR: "mfd_add_devices" [kpc2000.ko] undefined!
ERROR: "__uio_register_device" [kpc2000.ko] undefined!

Signed-off-by: Simon SandstrÃm <simon@xxxxxxxxxx>
---
drivers/staging/kpc2000/Kconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/staging/kpc2000/Kconfig b/drivers/staging/kpc2000/Kconfig
index c463d232f2b4..5188b56123ab 100644
--- a/drivers/staging/kpc2000/Kconfig
+++ b/drivers/staging/kpc2000/Kconfig
@@ -3,6 +3,8 @@
config KPC2000
bool "Daktronics KPC Device support"
depends on PCI
+ select MFD_CORE
+ select UIO
help
Select this if you wish to use the Daktronics KPC PCI devices

--
2.20.1