video: adf: Set ADF_MEMBLOCK to boolean
authorGuenter Roeck <groeck@chromium.org>
Thu, 3 Mar 2016 17:30:33 +0000 (09:30 -0800)
committerGuenter Roeck <groeck@chromium.org>
Thu, 3 Mar 2016 17:30:33 +0000 (09:30 -0800)
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>
drivers/video/adf/Kconfig

index 33858b73d8bb99e64af9a1040e47e1ad5ddead34..2777db48fae0e91276b97616e94f564d93182fda 100644 (file)
@@ -11,4 +11,4 @@ menuconfig ADF_FBDEV
 menuconfig ADF_MEMBLOCK
        depends on ADF
        depends on HAVE_MEMBLOCK
-       tristate "Helper for using memblocks as buffers in ADF drivers"
+       bool "Helper for using memblocks as buffers in ADF drivers"