diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-01-18 22:03:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 14:34:08 -0800 |
commit | 649aa95d75cbadb9f440c1b8d04c666461de326f (patch) | |
tree | cf330cb0ecddde1bc09649f12903e9b62640d0dc /drivers/net/typhoon.c | |
parent | da3bc07171dff957906cbe2ad5abb443eccf57c4 (diff) | |
download | blackbird-op-linux-649aa95d75cbadb9f440c1b8d04c666461de326f.tar.gz blackbird-op-linux-649aa95d75cbadb9f440c1b8d04c666461de326f.zip |
typhoon: replace users of __constant_{endian}
The base versions handle constant folding just fine, use them
directly.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: David Dillow <dave@thedillows.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/typhoon.c')
-rw-r--r-- | drivers/net/typhoon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/typhoon.c b/drivers/net/typhoon.c index dcff5ade6d08..a8e5651f3165 100644 --- a/drivers/net/typhoon.c +++ b/drivers/net/typhoon.c @@ -1944,7 +1944,7 @@ typhoon_start_runtime(struct typhoon *tp) goto error_out; INIT_COMMAND_NO_RESPONSE(&xp_cmd, TYPHOON_CMD_VLAN_TYPE_WRITE); - xp_cmd.parm1 = __constant_cpu_to_le16(ETH_P_8021Q); + xp_cmd.parm1 = cpu_to_le16(ETH_P_8021Q); err = typhoon_issue_command(tp, 1, &xp_cmd, 0, NULL); if(err < 0) goto error_out; |