diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-05-08 09:05:54 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-05-09 16:05:24 -0400 |
commit | 60371952e1dd0d507039b2654c22083b32c38398 (patch) | |
tree | bdc93d0fdf4603f9764fe7027064634d104140a0 /arch/arm/mach-imx/Kconfig | |
parent | 009e63f8d144f9f946c5e0eccbeb597aba16de57 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 78f795d73cb6..ba44328464f3 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig | |||
@@ -5,6 +5,7 @@ config ARCH_MXC | |||
5 | select AUTO_ZRELADDR if !ZBOOT_ROM | 5 | select AUTO_ZRELADDR if !ZBOOT_ROM |
6 | select CLKDEV_LOOKUP | 6 | select CLKDEV_LOOKUP |
7 | select CLKSRC_MMIO | 7 | select CLKSRC_MMIO |
8 | select GENERIC_ALLOCATOR | ||
8 | select GENERIC_CLOCKEVENTS | 9 | select GENERIC_CLOCKEVENTS |
9 | select GENERIC_IRQ_CHIP | 10 | select GENERIC_IRQ_CHIP |
10 | select MULTI_IRQ_HANDLER | 11 | select MULTI_IRQ_HANDLER |
@@ -61,10 +62,6 @@ config MXC_ULPI | |||
61 | config ARCH_HAS_RNGA | 62 | config ARCH_HAS_RNGA |
62 | bool | 63 | bool |
63 | 64 | ||
64 | config IRAM_ALLOC | ||
65 | bool | ||
66 | select GENERIC_ALLOCATOR | ||
67 | |||
68 | config HAVE_IMX_ANATOP | 65 | config HAVE_IMX_ANATOP |
69 | bool | 66 | bool |
70 | 67 | ||