提交 2bbc5bdf 编写于 作者: R 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: NRalf Baechle <ralf@linux-mips.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册