Re: [PATCH] dmaengine: PL08x: Avoid collisions with get_signal() macro

From: Arnd Bergmann
Date: Wed Jun 19 2013 - 17:53:10 EST

On Wednesday 19 June 2013, Mark Brown wrote:
> As pointed out by Arnd Bergmann there is a get_signal macro definied in
> linux/signal.h which can conflict with the platform data callback
> function of the same name leading to confusing errors from the compiler
> (especially if signal.h manages to get pulled into the driver itself due
> to header dependencies). Avoid such errors by renaming get_signal and
> put_signal in the platform data to get_xfer_signal and put_xfer_signal.
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at