Skip to content

Commit

Permalink
[MIPS] IP27: Move definition of nic_t to its sole user.
Browse files Browse the repository at this point in the history
This also fixes the duplicate definition of nic_t in the s2io driver.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Dec 12, 2006
1 parent 2f3643a commit 2bbc5bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/asm-mips/sn/arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions include/asm-mips/sn/klconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2bbc5bd

Please sign in to comment.