提交 d4c596eb 编写于 作者: Y YueHaibing 提交者: 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: NHulk Robot <hulkci@huawei.com>
Reported-by: Nkbuild test robot <lkp@intel.com>
Fixes: 7dc7967f ("staging: kpc2000: add initial set of Daktronics drivers")
Signed-off-by: NYueHaibing <yuehaibing@huawei.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册