diff options
| author | John Stultz <john.stultz@linaro.org> | 2013-12-16 21:07:51 -0800 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2013-12-19 19:25:38 -0800 |
| commit | d232ba2bea468a7d12d826d0fe62b3f8a9ba8d10 (patch) | |
| tree | c08b90ef560fe1bdddfa1272bb156d61934ce6c7 /lib/mpi/mpiutil.c | |
| parent | ddd0ec0672e38c79e815588bfd725d50bd15d657 (diff) | |
| download | olio-linux-3.10-d232ba2bea468a7d12d826d0fe62b3f8a9ba8d10.tar.xz olio-linux-3.10-d232ba2bea468a7d12d826d0fe62b3f8a9ba8d10.zip | |
staging: ion: Add HAVE_MEMBLOCK config dependency
The kbuild test robot reported a build issue w/ ION on m68k:
drivers/staging/android/ion/ion.c: In function 'ion_reserve':
drivers/staging/android/ion/ion.c:1526:4: error: implicit declaration of function 'memblock_alloc_base' [-Werror=implicit-function-declaration]
drivers/staging/android/ion/ion.c:1528:11: error: 'MEMBLOCK_ALLOC_ANYWHERE' undeclared (first use in this function)
drivers/staging/android/ion/ion.c:1528:11: note: each undeclared identifier is reported only once for each function it appears in
drivers/staging/android/ion/ion.c:1537:4: error: implicit declaration of function 'memblock_reserve' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
This is caused by ION using memblock functionality which m68k doesn't support.
This patch adds a HAVE_MEMBLOCK dependency to the ION config.
Acked-by: Colin Cross <ccross@android.com>
Cc: Android Kernel Team <kernel-team@android.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions