From: Chen Gang Date: Fri, 30 Aug 2013 05:01:45 +0000 (+0800) Subject: drivers: uio: Kconfig: add MMU dependancy for UIO X-Git-Tag: v3.12-rc1~185^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cc1f95283a125cf54ccf1e25065321d4385133b;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed