mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 1/3] mmc: MMC_OMAP_HS should depend on HAS_DMA
@ 2014-07-09 18:52 Geert Uytterhoeven
  2014-07-09 18:52 ` [PATCH v2 2/3] mmc: MMC_SH_MMCIF " Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2014-07-09 18:52 UTC (permalink / raw)
  To: Chris Ball, Ulf Hansson; +Cc: linux-mmc, linux-kernel, Geert Uytterhoeven

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'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
v2:
  - Add Acked-by
---
 drivers/mmc/host/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index a5652548230a..97f6452e0d23 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 2/3] mmc: MMC_SH_MMCIF should depend on HAS_DMA
  2014-07-09 18:52 [PATCH v2 1/3] mmc: MMC_OMAP_HS should depend on HAS_DMA Geert Uytterhoeven
@ 2014-07-09 18:52 ` Geert Uytterhoeven
  2014-07-10 12:47   ` Ulf Hansson
  2014-07-09 18:52 ` [PATCH v2 3/3] mmc: MMC_USDHI6ROL0 " Geert Uytterhoeven
  2014-07-10 12:46 ` [PATCH v2 1/3] mmc: MMC_OMAP_HS " Ulf Hansson
  2 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2014-07-09 18:52 UTC (permalink / raw)
  To: Chris Ball, Ulf Hansson; +Cc: linux-mmc, linux-kernel, Geert Uytterhoeven

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'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
v2:
  - Add Acked-by
---
 drivers/mmc/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 97f6452e0d23..9ac9d8387df0 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 3/3] mmc: MMC_USDHI6ROL0 should depend on HAS_DMA
  2014-07-09 18:52 [PATCH v2 1/3] mmc: MMC_OMAP_HS should depend on HAS_DMA Geert Uytterhoeven
  2014-07-09 18:52 ` [PATCH v2 2/3] mmc: MMC_SH_MMCIF " Geert Uytterhoeven
@ 2014-07-09 18:52 ` Geert Uytterhoeven
  2014-07-10 12:48   ` Ulf Hansson
  2014-07-10 12:46 ` [PATCH v2 1/3] mmc: MMC_OMAP_HS " Ulf Hansson
  2 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2014-07-09 18:52 UTC (permalink / raw)
  To: Chris Ball, Ulf Hansson; +Cc: linux-mmc, linux-kernel, Geert Uytterhoeven

If 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'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
v2:
  - New
---
 drivers/mmc/host/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 9ac9d8387df0..5ccde78e0110 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/3] mmc: MMC_OMAP_HS should depend on HAS_DMA
  2014-07-09 18:52 [PATCH v2 1/3] mmc: MMC_OMAP_HS should depend on HAS_DMA Geert Uytterhoeven
  2014-07-09 18:52 ` [PATCH v2 2/3] mmc: MMC_SH_MMCIF " Geert Uytterhoeven
  2014-07-09 18:52 ` [PATCH v2 3/3] mmc: MMC_USDHI6ROL0 " Geert Uytterhoeven
@ 2014-07-10 12:46 ` Ulf Hansson
  2 siblings, 0 replies; 6+ messages in thread
From: Ulf Hansson @ 2014-07-10 12:46 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Chris Ball, linux-mmc, linux-kernel

On 9 July 2014 20:52, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> 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'
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Thanks! Applied for next.

Kind regards
Uffe

> ---
> v2:
>   - Add Acked-by
> ---
>  drivers/mmc/host/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index a5652548230a..97f6452e0d23 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -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
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 2/3] mmc: MMC_SH_MMCIF should depend on HAS_DMA
  2014-07-09 18:52 ` [PATCH v2 2/3] mmc: MMC_SH_MMCIF " Geert Uytterhoeven
@ 2014-07-10 12:47   ` Ulf Hansson
  0 siblings, 0 replies; 6+ messages in thread
From: Ulf Hansson @ 2014-07-10 12:47 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Chris Ball, linux-mmc, linux-kernel

On 9 July 2014 20:52, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> 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'
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Thanks! Applied for next.

Kind regards
Uffe


> ---
> v2:
>   - Add Acked-by
> ---
>  drivers/mmc/host/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 97f6452e0d23..9ac9d8387df0 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -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
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 3/3] mmc: MMC_USDHI6ROL0 should depend on HAS_DMA
  2014-07-09 18:52 ` [PATCH v2 3/3] mmc: MMC_USDHI6ROL0 " Geert Uytterhoeven
@ 2014-07-10 12:48   ` Ulf Hansson
  0 siblings, 0 replies; 6+ messages in thread
From: Ulf Hansson @ 2014-07-10 12:48 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Chris Ball, linux-mmc, linux-kernel

On 9 July 2014 20:52, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> If 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'
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

Thanks! Applied for next.

Kind regards
Uffe

> ---
> v2:
>   - New
> ---
>  drivers/mmc/host/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index 9ac9d8387df0..5ccde78e0110 100644
> --- a/drivers/mmc/host/Kconfig
> +++ b/drivers/mmc/host/Kconfig
> @@ -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
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-10 12:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-09 18:52 [PATCH v2 1/3] mmc: MMC_OMAP_HS should depend on HAS_DMA Geert Uytterhoeven
2014-07-09 18:52 ` [PATCH v2 2/3] mmc: MMC_SH_MMCIF " Geert Uytterhoeven
2014-07-10 12:47   ` Ulf Hansson
2014-07-09 18:52 ` [PATCH v2 3/3] mmc: MMC_USDHI6ROL0 " Geert Uytterhoeven
2014-07-10 12:48   ` Ulf Hansson
2014-07-10 12:46 ` [PATCH v2 1/3] mmc: MMC_OMAP_HS " Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®