Skip to contentSkip to conversation

rt2x00: remove KSEG1ADDR define from rt2x00soc.h

PATCH In review Helmut Schaa 2 participants 2 messages Mar 5, 2010 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rt2x00: remove KSEG1ADDR define from rt2x00soc.h

Remove the KSEG1ADDR define from rt2x00soc.h as it redefines and covers the correct one from the arch/mips/include/asm/addrspace.h. Otherwise the driver oopses on the target platform (Ralink rt3050 board).

---

 drivers/net/wireless/rt2x00/rt2x00soc.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/net/wireless/rt2x00/rt2x00soc.h +0 -2
index 4739edf..474cbfc 100644
@@ -26,8 +26,6 @@
 #ifndef RT2X00SOC_H
 #define RT2X00SOC_H
 
-#define KSEG1ADDR(__ptr) __ptr
-
 /*
  * SoC driver handlers.
  */
Signature · 1 line
1.6.0.2
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Helmut Schaa

Remove the KSEG1ADDR define from rt2x00soc.h as it redefines and covers the correct one from the arch/mips/include/asm/addrspace.h. Otherwise the driver oopses on the target platform (Ralink rt3050 board).

---

Quoted 21 lines

 drivers/net/wireless/rt2x00/rt2x00soc.h |    2 --

 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/net/wireless/rt2x00/rt2x00soc.h +0 -3
index 4739edf..474cbfc 100644
@@ -26,8 +26,6 @@
  #ifndef RT2X00SOC_H
  #define RT2X00SOC_H
 
-#define KSEG1ADDR(__ptr) __ptr
-
  /*
  * SoC driver handlers.
  */
--

1.6.0.2