diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-01-30 00:26:44 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-09 23:03:43 +0300 |
commit | c1b4aa3fb619782213af2af6652663c8f9cef373 (patch) | |
tree | a5c37c26ebf311dbf9428167efdb24915c1b824c /drivers/net/wireless/orinoco/hermes_dld.c | |
parent | e5d24efe529b26d782b41a61a5e958c72f36f295 (diff) | |
download | linux-c1b4aa3fb619782213af2af6652663c8f9cef373.tar.xz |
wireless: replace uses of __constant_{endian}
The base versions handle constant folding now.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco/hermes_dld.c')
-rw-r--r-- | drivers/net/wireless/orinoco/hermes_dld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco/hermes_dld.c b/drivers/net/wireless/orinoco/hermes_dld.c index d8c626e61a3a..45aed14bf110 100644 --- a/drivers/net/wireless/orinoco/hermes_dld.c +++ b/drivers/net/wireless/orinoco/hermes_dld.c @@ -573,9 +573,9 @@ static const struct { \ __le16 id; \ u8 val[length]; \ } __attribute__ ((packed)) default_pdr_data_##pid = { \ - __constant_cpu_to_le16((sizeof(default_pdr_data_##pid)/ \ + cpu_to_le16((sizeof(default_pdr_data_##pid)/ \ sizeof(__le16)) - 1), \ - __constant_cpu_to_le16(pid), \ + cpu_to_le16(pid), \ data \ } |