1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-05 05:49:42 +02:00
openwrt-xburst/package/mac80211/patches/060-fix_zd1211_defines.patch
nbd 124b907145 mac80211: sync with trunk (as of r25965)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 03:42:02 +00:00

15 lines
407 B
Diff

--- 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 CR0 CTL_REG(0x0000)
#define CR1 CTL_REG(0x0004)