[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190510134724.41052-1-yuehaibing@huawei.com>
Date: Fri, 10 May 2019 21:47:24 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <gregkh@...uxfoundation.org>, <Matt.Sickler@...tronics.com>
CC: <linux-kernel@...r.kernel.org>, <devel@...verdev.osuosl.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH] 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@...wei.com>
Fixes: 7dc7967fc39a ("staging: kpc2000: add initial set of Daktronics drivers")
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/staging/kpc2000/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/kpc2000/Kconfig b/drivers/staging/kpc2000/Kconfig
index fb59229..febe4f8 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
--
2.7.4
Powered by blists - more mailing lists