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: 7dc7967fc3
("staging: kpc2000: add initial set of Daktronics drivers")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e00839f388
commit
d4c596ebf6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue