aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/fw.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2009-02-01 03:43:54 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-01 03:43:54 -0500
commitee437770c42088b9b653e8b3bf28a61fa647f84e (patch)
treef955559e8f330c08695688fe33e717cb5a550891 /drivers/net/wimax/i2400m/fw.c
parent4fb669948116d928ae44262ab7743732c574630d (diff)
wimax: replace uses of __constant_{endian}
Base versions handle constant folding now. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Inaky Perez-Gonzalez <inaky@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wimax/i2400m/fw.c')
-rw-r--r--drivers/net/wimax/i2400m/fw.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wimax/i2400m/fw.c b/drivers/net/wimax/i2400m/fw.c
index 1d8271f34c38..ecd0cfaefdcc 100644
--- a/drivers/net/wimax/i2400m/fw.c
+++ b/drivers/net/wimax/i2400m/fw.c
@@ -140,10 +140,10 @@
140 140
141 141
142static const __le32 i2400m_ACK_BARKER[4] = { 142static const __le32 i2400m_ACK_BARKER[4] = {
143 __constant_cpu_to_le32(I2400M_ACK_BARKER), 143 cpu_to_le32(I2400M_ACK_BARKER),
144 __constant_cpu_to_le32(I2400M_ACK_BARKER), 144 cpu_to_le32(I2400M_ACK_BARKER),
145 __constant_cpu_to_le32(I2400M_ACK_BARKER), 145 cpu_to_le32(I2400M_ACK_BARKER),
146 __constant_cpu_to_le32(I2400M_ACK_BARKER) 146 cpu_to_le32(I2400M_ACK_BARKER)
147}; 147};
148 148
149 149
@@ -771,8 +771,8 @@ static
771int i2400m_dnload_init_nonsigned(struct i2400m *i2400m) 771int i2400m_dnload_init_nonsigned(struct i2400m *i2400m)
772{ 772{
773#define POKE(a, d) { \ 773#define POKE(a, d) { \
774 .address = __constant_cpu_to_le32(a), \ 774 .address = cpu_to_le32(a), \
775 .data = __constant_cpu_to_le32(d) \ 775 .data = cpu_to_le32(d) \
776} 776}
777 static const struct { 777 static const struct {
778 __le32 address; 778 __le32 address;