From: Jaehoon Chung Date: Thu, 16 Feb 2012 02:19:38 +0000 (+0900) Subject: mmc: dw_mmc: fix compile error when CONFIG_MMC_DW_IDMAC is disabled X-Git-Tag: v3.4-rc1~49^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9beee912a3c6e017f03ccefd826b57a6a46c0e31;p=pandora-kernel.git mmc: dw_mmc: fix compile error when CONFIG_MMC_DW_IDMAC is disabled When disable CONFIG_MMC_DW_IDMAC, can see the compiler error. Because in dw_mci_post_req(), called the dw_mci_get_dma_dir(). But that function is in #ifdef CONFIG_MMC_DW_IDMAC. I think that function is generic function. Not need the CONFIG_MMC_DW_IDMAC. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park Acked-by: Seungwon Jeon Acked-by: James Hogan Signed-off-by: Chris Ball --- Reading git-diff-tree failed