Commit 2bbc5bdf authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] IP27: Move definition of nic_t to its sole user.

This also fixes the duplicate definition of nic_t in the s2io driver.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 2f3643ae
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#endif #endif
typedef u64 hubreg_t; typedef u64 hubreg_t;
typedef u64 nic_t;
#define cputonasid(cpu) (cpu_data[(cpu)].p_nasid) #define cputonasid(cpu) (cpu_data[(cpu)].p_nasid)
#define cputoslice(cpu) (cpu_data[(cpu)].p_slice) #define cputoslice(cpu) (cpu_data[(cpu)].p_slice)
......
...@@ -61,6 +61,8 @@ ...@@ -61,6 +61,8 @@
#endif /* CONFIG_SGI_IP35 */ #endif /* CONFIG_SGI_IP35 */
#endif /* CONFIG_SGI_IP27 || CONFIG_SGI_IP35 */ #endif /* CONFIG_SGI_IP27 || CONFIG_SGI_IP35 */
typedef u64 nic_t;
#define KLCFGINFO_MAGIC 0xbeedbabe #define KLCFGINFO_MAGIC 0xbeedbabe
typedef s32 klconf_off_t; typedef s32 klconf_off_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment