summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear/spear3xx.c
diff options
context:
space:
mode:
authorMark Brown2013-06-19 21:38:28 +0200
committerVinod Koul2013-07-05 08:10:47 +0200
commitd7cabeed830b7eb3958cbc084a85649126cd670f (patch)
tree0cf740e0fa71d4e875b7da2ce27344614df95fb1 /arch/arm/mach-spear/spear3xx.c
parentdmaengine: dw: select DW_DMAC_BIG_ENDIAN_IO automagically (diff)
downloadkernel-qcow2-linux-d7cabeed830b7eb3958cbc084a85649126cd670f.tar.gz
kernel-qcow2-linux-d7cabeed830b7eb3958cbc084a85649126cd670f.tar.xz
kernel-qcow2-linux-d7cabeed830b7eb3958cbc084a85649126cd670f.zip
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>
Diffstat (limited to 'arch/arm/mach-spear/spear3xx.c')
-rw-r--r--arch/arm/mach-spear/spear3xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-spear/spear3xx.c b/arch/arm/mach-spear/spear3xx.c
index 0227c97797cd..bf3b1fd8cb23 100644
--- a/arch/arm/mach-spear/spear3xx.c
+++ b/arch/arm/mach-spear/spear3xx.c
@@ -56,8 +56,8 @@ struct pl08x_platform_data pl080_plat_data = {
},
.lli_buses = PL08X_AHB1,
.mem_buses = PL08X_AHB1,
- .get_signal = pl080_get_signal,
- .put_signal = pl080_put_signal,
+ .get_xfer_signal = pl080_get_signal,
+ .put_xfer_signal = pl080_put_signal,
};
/*