diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-01-16 03:38:58 +0400 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-01-19 19:29:13 +0400 |
commit | 9848e49a9a9aab075d79c5d2856abb879495f97f (patch) | |
tree | 3becb81be783204dc476dab6738c8a9ea1ce5791 /arch/xtensa/include/asm/io.h | |
parent | 9ed82c6866e2ab671935a75ea454047e8bddb177 (diff) | |
download | op-kernel-dev-9848e49a9a9aab075d79c5d2856abb879495f97f.zip op-kernel-dev-9848e49a9a9aab075d79c5d2856abb879495f97f.tar.gz |
xtensa: fix warning '"CONFIG_OF" is not defined'
The warning only shows up when building MMUv3 configuration with OF
support disabled.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/io.h')
-rw-r--r-- | arch/xtensa/include/asm/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/io.h b/arch/xtensa/include/asm/io.h index 2a042d4..7494420 100644 --- a/arch/xtensa/include/asm/io.h +++ b/arch/xtensa/include/asm/io.h @@ -25,7 +25,7 @@ #ifdef CONFIG_MMU -#if XCHAL_HAVE_PTP_MMU && XCHAL_HAVE_SPANNING_WAY && CONFIG_OF +#if XCHAL_HAVE_PTP_MMU && XCHAL_HAVE_SPANNING_WAY && defined(CONFIG_OF) extern unsigned long xtensa_kio_paddr; static inline unsigned long xtensa_get_kio_paddr(void) |