diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2011-04-02 04:25:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-07 15:34:13 -0400 |
commit | fbd5d17b8e2b418b495599c554f9c4754b7f93c9 (patch) | |
tree | 9338404d673b004c0bb22cc76e3721995ea5db34 /drivers/net/wireless/zd1211rw/zd_usb.c | |
parent | 26cd322bacd3d65fffef6f8418c2fdad5b42e4b5 (diff) |
zd1211rw: rename CR* macros to ZD_CR*
With compat-wireless CR* macros in zd_usb.h conflict with CR macros in
include/asm-generic/termbits.h. So rename CR* macros to ZD_CR*.
Conversion was done with using sed and then 'over 80 character line'
checkpatch.pl warnings and comment indents were fixed.
Reported-by: Walter Goldens <goldenstranger@yahoo.com>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_usb.c')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_usb.c b/drivers/net/wireless/zd1211rw/zd_usb.c index 58236e6d0921..c9c1362e9499 100644 --- a/drivers/net/wireless/zd1211rw/zd_usb.c +++ b/drivers/net/wireless/zd1211rw/zd_usb.c | |||
@@ -1877,10 +1877,10 @@ int zd_usb_rfwrite(struct zd_usb *usb, u32 value, u8 bits) | |||
1877 | 1877 | ||
1878 | dev_dbg_f(zd_usb_dev(usb), "value %#09x bits %d\n", value, bits); | 1878 | dev_dbg_f(zd_usb_dev(usb), "value %#09x bits %d\n", value, bits); |
1879 | 1879 | ||
1880 | r = zd_usb_ioread16(usb, &bit_value_template, CR203); | 1880 | r = zd_usb_ioread16(usb, &bit_value_template, ZD_CR203); |
1881 | if (r) { | 1881 | if (r) { |
1882 | dev_dbg_f(zd_usb_dev(usb), | 1882 | dev_dbg_f(zd_usb_dev(usb), |
1883 | "error %d: Couldn't read CR203\n", r); | 1883 | "error %d: Couldn't read ZD_CR203\n", r); |
1884 | return r; | 1884 | return r; |
1885 | } | 1885 | } |
1886 | bit_value_template &= ~(RF_IF_LE|RF_CLK|RF_DATA); | 1886 | bit_value_template &= ~(RF_IF_LE|RF_CLK|RF_DATA); |