diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-01-19 01:03:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 17:34:08 -0500 |
commit | 649aa95d75cbadb9f440c1b8d04c666461de326f (patch) | |
tree | cf330cb0ecddde1bc09649f12903e9b62640d0dc /drivers/net/typhoon.c | |
parent | da3bc07171dff957906cbe2ad5abb443eccf57c4 (diff) |
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) | |||
1944 | goto error_out; | 1944 | goto error_out; |
1945 | 1945 | ||
1946 | INIT_COMMAND_NO_RESPONSE(&xp_cmd, TYPHOON_CMD_VLAN_TYPE_WRITE); | 1946 | INIT_COMMAND_NO_RESPONSE(&xp_cmd, TYPHOON_CMD_VLAN_TYPE_WRITE); |
1947 | xp_cmd.parm1 = __constant_cpu_to_le16(ETH_P_8021Q); | 1947 | xp_cmd.parm1 = cpu_to_le16(ETH_P_8021Q); |
1948 | err = typhoon_issue_command(tp, 1, &xp_cmd, 0, NULL); | 1948 | err = typhoon_issue_command(tp, 1, &xp_cmd, 0, NULL); |
1949 | if(err < 0) | 1949 | if(err < 0) |
1950 | goto error_out; | 1950 | goto error_out; |