android_kernel_oneplus_msm8998/drivers/video/adf/Kconfig
Guenter Roeck c37e85aae2 video: adf: Set ADF_MEMBLOCK to boolean
Attempts to build with CONFIG_ADF_MEMBLOCK=m result in the following
build error.

ERROR: "memblock_free" [drivers/video/adf/adf_memblock.ko] undefined!

memblock_free() is marked as __init_memblock, so exporting it seems to be
a bad idea. All other callers are only configurable into the kernel,
so do the same with ADF_MEMBLOCK.

Signed-off-by: Guenter Roeck <groeck@chromium.org>
2016-04-07 16:49:56 +05:30

14 lines
345 B
Text

menuconfig ADF
depends on SYNC
depends on DMA_SHARED_BUFFER
tristate "Atomic Display Framework"
menuconfig ADF_FBDEV
depends on ADF
depends on FB
tristate "Helper for implementing the fbdev API in ADF drivers"
menuconfig ADF_MEMBLOCK
depends on ADF
depends on HAVE_MEMBLOCK
bool "Helper for using memblocks as buffers in ADF drivers"