diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-05-10 21:47:24 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-20 09:18:45 +0200 |
commit | d4c596ebf62760b89ec3d0a2cbc94e2632395eec (patch) | |
tree | 3c6b6bdb1af0439e9f4343fbb690938ca7636b77 | |
parent | e00839f38823e7e4a38d2e2703c624a16f08dac8 (diff) | |
download | linux-stable-d4c596ebf62760b89ec3d0a2cbc94e2632395eec.tar.gz linux-stable-d4c596ebf62760b89ec3d0a2cbc94e2632395eec.tar.bz2 linux-stable-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/Kconfig | 1 |
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 |