Re: [PATCH] remoteproc: Add dependency to HAS_DMA

From: Ohad Ben-Cohen
Date: Tue Sep 18 2012 - 00:08:00 EST


Hi Sjur,

On Thu, Sep 13, 2012 at 9:03 PM, <sjur.brandeland@xxxxxxxxxxxxxx> wrote:
> From: Sjur Brændeland <sjur.brandeland@xxxxxxxxxxxxxx>
>
> Remoteproc relies on HAS_DMA, add this dependency in Kconfig.
>
> Signed-off-by: Sjur Brændeland <sjur.brandeland@xxxxxxxxxxxxxx>

Applied to remoteproc-next, thanks.

Btw:

> ---
> cc: linux-kernel@xxxxxxxxxxxxxxx
> cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

These should be above the dashes if you want them included in the patch.

>
> drivers/remoteproc/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig
> index f8d818a..e7d440c 100644
> --- a/drivers/remoteproc/Kconfig
> +++ b/drivers/remoteproc/Kconfig
> @@ -4,6 +4,7 @@ menu "Remoteproc drivers (EXPERIMENTAL)"
> config REMOTEPROC
> tristate
> depends on EXPERIMENTAL
> + depends on HAS_DMA

I've added this to OMAP_REMOTEPROC too, because recursive dependencies
don't work (REMOTEPROC could still be selected without HAS_DMA).

Thanks,
Ohad.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/