diff options
Diffstat (limited to 'include/asm-sh/machvec.h')
| -rw-r--r-- | include/asm-sh/machvec.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/asm-sh/machvec.h b/include/asm-sh/machvec.h index 550501fa4fed..70389b72ffef 100644 --- a/include/asm-sh/machvec.h +++ b/include/asm-sh/machvec.h | |||
| @@ -8,17 +8,18 @@ | |||
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #ifndef _ASM_SH_MACHVEC_H | 10 | #ifndef _ASM_SH_MACHVEC_H |
| 11 | #define _ASM_SH_MACHVEC_H 1 | 11 | #define _ASM_SH_MACHVEC_H |
| 12 | 12 | ||
| 13 | #include <linux/types.h> | 13 | #include <linux/types.h> |
| 14 | #include <linux/time.h> | 14 | #include <linux/time.h> |
| 15 | |||
| 16 | #include <asm/machtypes.h> | 15 | #include <asm/machtypes.h> |
| 17 | #include <asm/machvec_init.h> | 16 | #include <asm/machvec_init.h> |
| 18 | 17 | ||
| 19 | struct device; | 18 | struct device; |
| 20 | 19 | ||
| 21 | struct sh_machine_vector { | 20 | struct sh_machine_vector { |
| 21 | void (*mv_setup)(char **cmdline_p); | ||
| 22 | const char *mv_name; | ||
| 22 | int mv_nr_irqs; | 23 | int mv_nr_irqs; |
| 23 | 24 | ||
| 24 | u8 (*mv_inb)(unsigned long); | 25 | u8 (*mv_inb)(unsigned long); |
| @@ -65,4 +66,6 @@ struct sh_machine_vector { | |||
| 65 | 66 | ||
| 66 | extern struct sh_machine_vector sh_mv; | 67 | extern struct sh_machine_vector sh_mv; |
| 67 | 68 | ||
| 69 | #define get_system_type() sh_mv.mv_name | ||
| 70 | |||
| 68 | #endif /* _ASM_SH_MACHVEC_H */ | 71 | #endif /* _ASM_SH_MACHVEC_H */ |
