Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 077be8a7 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

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: default avatarGuenter Roeck <groeck@chromium.org>
parent bb485f9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"