OSDN Git Service

dmaengine: PL08x: Avoid collisions with get_signal() macro
authorMark Brown <broonie@linaro.org>
Wed, 19 Jun 2013 19:38:28 +0000 (20:38 +0100)
committerVinod Koul <vinod.koul@intel.com>
Fri, 5 Jul 2013 06:10:47 +0000 (11:40 +0530)
commitd7cabeed830b7eb3958cbc084a85649126cd670f
tree0cf740e0fa71d4e875b7da2ce27344614df95fb1
parente368b510c01aaf7b2957306836ffdeacc24712a3
dmaengine: PL08x: Avoid collisions with get_signal() macro

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@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
arch/arm/mach-lpc32xx/phy3250.c
arch/arm/mach-spear/spear3xx.c
arch/arm/mach-spear/spear6xx.c
drivers/dma/amba-pl08x.c
include/linux/amba/pl08x.h