Commit d4c596eb authored by YueHaibing's avatar YueHaibing Committed by Greg Kroah-Hartman

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: default avatarHulk Robot <hulkci@huawei.com>
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Fixes: 7dc7967f ("staging: kpc2000: add initial set of Daktronics drivers")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e00839f3
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment