]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: Select GENERIC_ALLOCATOR
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 8 May 2013 13:05:54 +0000 (21:05 +0800)
committerOlof Johansson <olof@lixom.net>
Thu, 9 May 2013 20:05:24 +0000 (13:05 -0700)
commit5aa150114c33530626f09fb0a51d16fbec5a095b
treebdc93d0fdf4603f9764fe7027064634d104140a0
parentd9f386dfe3a8efd173f76463036bc385de05c57e
ARM: imx: Select GENERIC_ALLOCATOR

Since commit 4f18394 (media: coda: use genalloc API) the following build
error happens with imx_v4_v5_defconfig:

drivers/built-in.o: In function 'coda_remove':
clk-composite.c:(.text+0x112180): undefined reference to 'gen_pool_free'
drivers/built-in.o: In function 'coda_probe':
clk-composite.c:(.text+0x112310): undefined reference to 'of_get_named_gen_pool'
clk-composite.c:(.text+0x1123f4): undefined reference to 'gen_pool_alloc'
clk-composite.c:(.text+0x11240c): undefined reference to 'gen_pool_virt_to_phys'
clk-composite.c:(.text+0x112458): undefined reference to 'dev_get_gen_pool'

Select GENERIC_ALLOCATOR and get rid of the custom IRAM_ALLOC.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/iram_alloc.c [deleted file]
include/linux/platform_data/imx-iram.h [deleted file]