diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-08-30 13:01:45 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-30 14:19:46 -0700 |
commit | 3cc1f95283a125cf54ccf1e25065321d4385133b (patch) | |
tree | 2463f93b09dcd2a96a8aa44e012298a31e3da7b1 /include/linux/mfd/palmas.h | |
parent | 06849faab58fc7ff9f4eae2532380c2a746a6f47 (diff) | |
download | lwn-3cc1f95283a125cf54ccf1e25065321d4385133b.tar.gz lwn-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 'include/linux/mfd/palmas.h')
0 files changed, 0 insertions, 0 deletions