[MIPS] IP27: Move definition of nic_t to its sole user.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 11 Dec 2006 04:07:40 +0000 (04:07 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 12 Dec 2006 01:46:24 +0000 (01:46 +0000)
This also fixes the duplicate definition of nic_t in the s2io driver.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/sn/arch.h
include/asm-mips/sn/klconfig.h

index 51174af6ac5213608f3f85a0ecc90749adabe421..da523de628be98302df8d306f7ddf3666a6907dd 100644 (file)
@@ -18,7 +18,6 @@
 #endif
 
 typedef u64    hubreg_t;
-typedef u64    nic_t;
 
 #define cputonasid(cpu)                        (cpu_data[(cpu)].p_nasid)
 #define cputoslice(cpu)                        (cpu_data[(cpu)].p_slice)
index 15d70ca561870cb9d48db00c7183b9377df0ee0a..82aeb9e322db9bde8a223a9c4ac30ba05478c308 100644 (file)
@@ -61,6 +61,8 @@
 #endif /* CONFIG_SGI_IP35 */
 #endif /* CONFIG_SGI_IP27 || CONFIG_SGI_IP35 */
 
+typedef u64  nic_t;
+
 #define KLCFGINFO_MAGIC        0xbeedbabe
 
 typedef s32 klconf_off_t;