diff options
Diffstat (limited to 'arch/ia64/include/asm/hpsim.h')
-rw-r--r-- | arch/ia64/include/asm/hpsim.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/hpsim.h b/arch/ia64/include/asm/hpsim.h new file mode 100644 index 000000000..00fbd5cc8 --- /dev/null +++ b/arch/ia64/include/asm/hpsim.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASMIA64_HPSIM_H +#define _ASMIA64_HPSIM_H + +#ifndef CONFIG_HP_SIMSERIAL_CONSOLE +static inline int simcons_register(void) { return 1; } +#else +int simcons_register(void); +#endif + +struct tty_driver; +extern struct tty_driver *hp_simserial_driver; + +extern int hpsim_get_irq(int intr); +void ia64_ctl_trace(long on); + +#endif |