summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/060-fix_zd1211_defines.patch
blob: e94b373cd85dc3b7b86b9a48516dfec8025243b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/drivers/net/wireless/zd1211rw/zd_chip.h
+++ b/drivers/net/wireless/zd1211rw/zd_chip.h
@@ -60,6 +60,11 @@ enum {
 #define E2P_DATA(offset) ((zd_addr_t)(E2P_START + E2P_DATA_OFFSET + (offset)))
 #define FWRAW_DATA(offset) ((zd_addr_t)(FW_START + (offset)))
 
+#undef CR0
+#undef CR1
+#undef CR2
+#undef CR3
+
 /* 8-bit hardware registers */
 #define ZD_CR0   CTL_REG(0x0000)
 #define ZD_CR1   CTL_REG(0x0004)