summaryrefslogtreecommitdiffstats
path: root/drivers/uio/Kconfig
diff options
context:
space:
mode:
authorChen Gang2013-08-30 07:01:45 +0200
committerGreg Kroah-Hartman2013-08-30 23:19:46 +0200
commit3cc1f95283a125cf54ccf1e25065321d4385133b (patch)
tree2463f93b09dcd2a96a8aa44e012298a31e3da7b1 /drivers/uio/Kconfig
parentdrivers: uio: Add driver for Humusoft MF624 DAQ PCI card (diff)
downloadkernel-qcow2-linux-3cc1f95283a125cf54ccf1e25065321d4385133b.tar.gz
kernel-qcow2-linux-3cc1f95283a125cf54ccf1e25065321d4385133b.tar.xz
kernel-qcow2-linux-3cc1f95283a125cf54ccf1e25065321d4385133b.zip
drivers: uio: Kconfig: add MMU dependancy for UIO
The User space I/O drivers are useful, only when user space meaningful (MMU must be enabled). So need let it depend on MMU, or can not pass compiling, the related error (allmodconfig for H8300): CC [M] drivers/uio/uio.o drivers/uio/uio.c: In function 'uio_mmap_physical': drivers/uio/uio.c:650:2: error: implicit declaration of function 'pgprot_noncached' [-Werror=implicit-function-declaration] drivers/uio/uio.c:650:20: error: incompatible types when assigning to type 'pgprot_t' from type 'int' Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio/Kconfig')
-rw-r--r--drivers/uio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig
index 86d98c86e147..5a90914d856d 100644
--- a/drivers/uio/Kconfig
+++ b/drivers/uio/Kconfig
@@ -1,5 +1,6 @@
menuconfig UIO
tristate "Userspace I/O drivers"
+ depends on MMU
help
Enable this to allow the userspace driver core code to be
built. This code allows userspace programs easy access to