diff options
author | Mark Brown <broonie@linaro.org> | 2013-06-19 15:38:28 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-07-05 02:10:47 -0400 |
commit | d7cabeed830b7eb3958cbc084a85649126cd670f (patch) | |
tree | 0cf740e0fa71d4e875b7da2ce27344614df95fb1 /arch/arm/mach-lpc32xx | |
parent | e368b510c01aaf7b2957306836ffdeacc24712a3 (diff) |
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-lpc32xx')
-rw-r--r-- | arch/arm/mach-lpc32xx/phy3250.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-lpc32xx/phy3250.c b/arch/arm/mach-lpc32xx/phy3250.c index c1cd5a943ab1..e54f87ec2e4a 100644 --- a/arch/arm/mach-lpc32xx/phy3250.c +++ b/arch/arm/mach-lpc32xx/phy3250.c | |||
@@ -182,8 +182,8 @@ static void pl08x_put_signal(const struct pl08x_channel_data *cd, int ch) | |||
182 | static struct pl08x_platform_data pl08x_pd = { | 182 | static struct pl08x_platform_data pl08x_pd = { |
183 | .slave_channels = &pl08x_slave_channels[0], | 183 | .slave_channels = &pl08x_slave_channels[0], |
184 | .num_slave_channels = ARRAY_SIZE(pl08x_slave_channels), | 184 | .num_slave_channels = ARRAY_SIZE(pl08x_slave_channels), |
185 | .get_signal = pl08x_get_signal, | 185 | .get_xfer_signal = pl08x_get_signal, |
186 | .put_signal = pl08x_put_signal, | 186 | .put_xfer_signal = pl08x_put_signal, |
187 | .lli_buses = PL08X_AHB1, | 187 | .lli_buses = PL08X_AHB1, |
188 | .mem_buses = PL08X_AHB1, | 188 | .mem_buses = PL08X_AHB1, |
189 | }; | 189 | }; |