mmc: MMC_OMAP_HS should depend on HAS_DMA
PATCH v2 1/3 mmc: MMC_OMAP_HS should depend on HAS_DMA
If NO_DMA=y:
drivers/built-in.o: In function `omap_hsmmc_pre_dma_transfer':
omap_hsmmc.c:(.text+0x5a0928): undefined reference to dma_map_sg' drivers/built-in.o: In function omap_hsmmc_dma_cleanup':
omap_hsmmc.c:(.text+0x5a0e8e): undefined reference to dma_unmap_sg' drivers/built-in.o: In function omap_hsmmc_dma_callback':
omap_hsmmc.c:(.text+0x5a1f58): undefined reference to dma_unmap_sg' drivers/built-in.o: In function omap_hsmmc_post_req':
omap_hsmmc.c:(.text+0x5a2082): undefined reference to `dma_unmap_sg'
---
v2:
- Add Acked-by
--- drivers/mmc/host/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/mmc/host/Kconfig +1 -0
@@ -303,6 +303,7 @@ config MMC_OMAP config MMC_OMAP_HS tristate "TI OMAP High Speed Multimedia Card Interface support" + depends on HAS_DMA depends on ARCH_OMAP2PLUS || COMPILE_TEST help This selects the TI OMAP High Speed Multimedia card Interface.
Signature · 1 line
1.9.1
PATCH v2 2/3 mmc: MMC_SH_MMCIF should depend on HAS_DMA
If NO_DMA=y:
drivers/built-in.o: In function `sh_mmcif_start_dma_tx':
sh_mmcif.c:(.text+0x5a3286): undefined reference to dma_map_sg' drivers/built-in.o: In function sh_mmcif_start_dma_rx':
sh_mmcif.c:(.text+0x5a33fc): undefined reference to dma_map_sg' drivers/built-in.o: In function sh_mmcif_end_cmd':
sh_mmcif.c:(.text+0x5a3668): undefined reference to `dma_unmap_sg'
---
v2:
- Add Acked-by
--- drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +1 -1
@@ -624,7 +624,7 @@ config MMC_DW_PCI config MMC_SH_MMCIF tristate "SuperH Internal MMCIF support" - depends on MMC_BLOCK + depends on MMC_BLOCK && HAS_DMA depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST help This selects the MMC Host Interface controller (MMCIF).
Signature · 1 line
1.9.1
Ulf Hansson
AppliedRe: [PATCH v2 2/3] mmc: MMC_SH_MMCIF should depend on HAS_DMA
Quoted 11 lines · Geert Uytterhoeven
If NO_DMA=y:
drivers/built-in.o: In function `sh_mmcif_start_dma_tx':
sh_mmcif.c:(.text+0x5a3286): undefined reference todma_map_sg' drivers/built-in.o: In functionsh_mmcif_start_dma_rx':
sh_mmcif.c:(.text+0x5a33fc): undefined reference todma_map_sg' drivers/built-in.o: In functionsh_mmcif_end_cmd':
sh_mmcif.c:(.text+0x5a3668): undefined reference to `dma_unmap_sg'Signed-off-by Geert Uytterhoeven <[email protected]>Acked-by Laurent Pinchart <[email protected]>
Thanks! Applied for next.
Kind regards
Uffe
Quoted 23 lines
---
v2:
- Add Acked-by--- drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mmc/host/Kconfig +1
-2@@ -624,7 +624,7 @@ config MMC_DW_PCI config MMC_SH_MMCIF tristate "SuperH Internal MMCIF support" - depends on MMC_BLOCK + depends on MMC_BLOCK && HAS_DMA depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST help This selects the MMC Host Interface controller (MMCIF). --1.9.1
PATCH v2 3/3 mmc: MMC_USDHI6ROL0 should depend on HAS_DMA
In reply to Geert UytterhoevenIf NO_DMA=y:
drivers/built-in.o: In function `usdhi6_dma_setup':
usdhi6rol0.c:(.text+0x5c35fc): undefined reference to dma_map_sg' drivers/built-in.o: In function usdhi6_dma_stop_unmap':
usdhi6rol0.c:(.text+0x5c3738): undefined reference to `dma_unmap_sg'
---
v2:
- New
--- drivers/mmc/host/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/mmc/host/Kconfig +1 -0
@@ -698,6 +698,7 @@ config MMC_WMT config MMC_USDHI6ROL0 tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support" + depends on HAS_DMA help This selects support for the Renesas USDHI6ROL0 SD/SDIO Host Controller
Signature · 1 line
1.9.1
Ulf Hansson
AppliedRe: [PATCH v2 3/3] mmc: MMC_USDHI6ROL0 should depend on HAS_DMA
Quoted 8 lines · Geert Uytterhoeven
If NO_DMA=y:
drivers/built-in.o: In function `usdhi6_dma_setup':
usdhi6rol0.c:(.text+0x5c35fc): undefined reference todma_map_sg' drivers/built-in.o: In functionusdhi6_dma_stop_unmap':
usdhi6rol0.c:(.text+0x5c3738): undefined reference to `dma_unmap_sg'Signed-off-by Geert Uytterhoeven <[email protected]>
Thanks! Applied for next.
Kind regards
Uffe
Quoted 22 lines
---
v2:
- New--- drivers/mmc/host/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/mmc/host/Kconfig +1
-1@@ -698,6 +698,7 @@ config MMC_WMT config MMC_USDHI6ROL0 tristate "Renesas USDHI6ROL0 SD/SDIO Host Controller support" + depends on HAS_DMA help This selects support for the Renesas USDHI6ROL0 SD/SDIO Host Controller --1.9.1
Ulf Hansson
AppliedQuoted 11 lines · Geert Uytterhoeven
If NO_DMA=y:
drivers/built-in.o: In function `omap_hsmmc_pre_dma_transfer':
omap_hsmmc.c:(.text+0x5a0928): undefined reference todma_map_sg' drivers/built-in.o: In functionomap_hsmmc_dma_cleanup':
omap_hsmmc.c:(.text+0x5a0e8e): undefined reference todma_unmap_sg' drivers/built-in.o: In functionomap_hsmmc_dma_callback':
omap_hsmmc.c:(.text+0x5a1f58): undefined reference todma_unmap_sg' drivers/built-in.o: In functionomap_hsmmc_post_req':
omap_hsmmc.c:(.text+0x5a2082): undefined reference to `dma_unmap_sg'
Quoted 2 lines
Signed-off-by Geert Uytterhoeven <[email protected]>Acked-by Laurent Pinchart <[email protected]>
Thanks! Applied for next.
Kind regards
Uffe
Quoted 22 lines
---
v2:
- Add Acked-by--- drivers/mmc/host/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/mmc/host/Kconfig +1
-1@@ -303,6 +303,7 @@ config MMC_OMAP config MMC_OMAP_HS tristate "TI OMAP High Speed Multimedia Card Interface support" + depends on HAS_DMA depends on ARCH_OMAP2PLUS || COMPILE_TEST help This selects the TI OMAP High Speed Multimedia card Interface. --1.9.1