aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-05-10 21:47:24 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-20 09:18:45 +0200
commitd4c596ebf62760b89ec3d0a2cbc94e2632395eec (patch)
tree3c6b6bdb1af0439e9f4343fbb690938ca7636b77
parentstaging: kpc2000: fix build error on xtensa (diff)
downloadlinux-dev-d4c596ebf62760b89ec3d0a2cbc94e2632395eec.tar.xz
linux-dev-d4c596ebf62760b89ec3d0a2cbc94e2632395eec.zip
staging: kpc2000: Fix build error without CONFIG_UIO
Fix gcc build error while CONFIG_UIO is not set ERROR: "uio_unregister_device" [drivers/staging/kpc2000/kpc2000/kpc2000.ko] undefined! ERROR: "__uio_register_device" [drivers/staging/kpc2000/kpc2000/kpc2000.ko] undefined! Add UIO Kconfig dependency to fix this. Reported-by: Hulk Robot <hulkci@huawei.com> Reported-by: kbuild test robot <lkp@intel.com> Fixes: 7dc7967fc39a ("staging: kpc2000: add initial set of Daktronics drivers") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/kpc2000/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/kpc2000/Kconfig b/drivers/staging/kpc2000/Kconfig
index fb5922928f47..febe4f8b30e5 100644
--- a/drivers/staging/kpc2000/Kconfig
+++ b/drivers/staging/kpc2000/Kconfig
@@ -3,6 +3,7 @@
config KPC2000
bool "Daktronics KPC Device support"
depends on PCI
+ depends on UIO
help
Select this if you wish to use the Daktronics KPC PCI devices