[linux-next PATCH] ARM: shmobile: marzen: defconfig: enable DMA engine support

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Wed Jun 26 06:02:55 EDT 2013


From: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
Subject: [linux-next PATCH] ARM: shmobile: marzen: defconfig: enable DMA engine support

Building marzen_defconfig for next-20130626 results in the following
build error:

drivers/built-in.o: In function `sh_mobile_sdhi_probe':
/home/bzolnier/sam/linux-sprc/drivers/mmc/host/sh_mobile_sdhi.c:170: undefined reference to `shdma_chan_filter'

Fix it by adding CONFIG_DMADEVICES=y line to marzen_defconfig. This
will result in CONFIG_SH_DMAE_BASE being enabled by default and the
needed code being build.

Cc: Stephen Rothwell <sfr at canb.auug.org.au>
Cc: Simon Horman <horms at verge.net.au>
Cc: Magnus Damm <magnus.damm at gmail.com>
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
---
 arch/arm/configs/marzen_defconfig |    1 +
 1 file changed, 1 insertion(+)

Index: b/arch/arm/configs/marzen_defconfig
===================================================================
--- a/arch/arm/configs/marzen_defconfig	2013-06-21 12:04:24.813681807 +0200
+++ b/arch/arm/configs/marzen_defconfig	2013-06-25 16:43:40.730367398 +0200
@@ -96,6 +96,7 @@ CONFIG_USB_STORAGE=y
 CONFIG_NEW_LEDS=y
 CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_GPIO=y
+CONFIG_DMADEVICES=y
 CONFIG_UIO=y
 CONFIG_UIO_PDRV_GENIRQ=y
 # CONFIG_IOMMU_SUPPORT is not set




More information about the linux-arm-kernel mailing list