[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130906154059.GI29403@sirena.org.uk>
Date: Fri, 6 Sep 2013 16:40:59 +0100
From: Mark Brown <broonie@...nel.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] spi/drivers: Restrict COMPILE_TEST by HAS_DMA where
needed
On Fri, Sep 06, 2013 at 04:55:40PM +0200, Geert Uytterhoeven wrote:
> commit dd1053a93fdc11d491f5460f7da5ce70e6c93c9e ("spi/drivers: Enable build
> of drivers with COMPILE_TEST") allows compile-testing drivers on platforms
> they're not meant for.
> However, adding "|| COMPILE_TEST" bypasses all other implicit dependencies
> assumed by the platform dependencies before, like HAS_DMA.
> If NO_DMA=y:
Why is the fix for this not to have the DMA APIs provide shims (or
whatever platforms are affected implement the DMA API)?
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists