# \[PATCH 6/6\] ARM: imx: gpmi-nand depends on mxs-dma

- From: Fabio Estevam \<festevam@gmail.com\>
- Date: 2012-08-08 13:01:28 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2012/08/3905324
- Thread: https://ratatoskr.run/linux-arm-kernel/2012/08/3905318/t.md

```text
Hi Arnd,

On Wed, Aug 8, 2012 at 9:54 AM, Arnd Bergmann [ref] wrote:
> It is not currently possible to build the gpmi-nand driver without
> also building the mxs-dma driver. Clarify this Kconfig and enable
> both in the defconfig file so we can build it again with both enabled.
>
> drivers/built-in.o: In function `gpmi_dma_filter':
> clk-fixed-factor.c:(.text+0xafc18): undefined reference to `mxs_dma_is_apbh'
> make[1]: *** [vmlinux] Error 1
> make: *** [sub-make] Error 2
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Shawn Guo <redacted>
> Cc: Sascha Hauer <kernel@pengutronix.de>

I have already sent a fix for this to the mtd list:
https://patchwork.kernel.org/patch/1236551/

Regards,

Fabio Estevam
```
