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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -3,6 +3,7 @@
config KPC2000
config KPC2000
	bool "Daktronics KPC Device support"
	bool "Daktronics KPC Device support"
	depends on PCI
	depends on PCI
	depends on UIO
	help
	help
	  Select this if you wish to use the Daktronics KPC PCI devices
	  Select this if you wish to use the Daktronics KPC PCI devices