aboutsummaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorGuenter Roeck <groeck@chromium.org>2016-03-03 09:30:33 -0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:35:26 +0200
commit94dee5b00f7966d8186a05efec6822c96b3daecb (patch)
tree90b802ba5cc5f44ae04d45878bbb2b8fda886787 /drivers/video
parentae3720d80255bb34303076febba0728abeae1b61 (diff)
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> (cherry picked from commit 077be8a752875772589c70299a291070807c8046) Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/adf/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/adf/Kconfig b/drivers/video/adf/Kconfig
index 33858b73d..2777db48f 100644
--- a/drivers/video/adf/Kconfig
+++ b/drivers/video/adf/Kconfig
@@ -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"