]> rtime.felk.cvut.cz Git - linux-imx.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)
commit60371952e1dd0d507039b2654c22083b32c38398
treebdc93d0fdf4603f9764fe7027064634d104140a0
parent009e63f8d144f9f946c5e0eccbeb597aba16de57
ARM: imx: Select GENERIC_ALLOCATOR

Since commit 657eee7 (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]