]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: dw_mmc: fix compile error when CONFIG_MMC_DW_IDMAC is disabled
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 16 Feb 2012 02:19:38 +0000 (11:19 +0900)
committerChris Ball <cjb@laptop.org>
Tue, 27 Mar 2012 16:19:57 +0000 (12:19 -0400)
commit7072d10e1787c23acb2500082668d932501cee1c
tree7358362d525b977b7ec506c81e0c6ffbd6100c6f
parenta3ecc46745585afc87885313b5eef897a3626fa9
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 <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c