5488c75353
Fixes: tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-next head:bc80fbe46b
commit:593fb1ae45
pps: Move timestamp read into PPS code proper date: 78 minutes ago config: make ARCH=sparc defconfig All error/warnings: In file included from drivers/tty/serial/suncore.c:20:0: >> include/linux/sunserialcore.h:29:15: warning: 'struct device_node' declared inside parameter list [enabled by default] >> include/linux/sunserialcore.h:29:15: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] >> include/linux/sunserialcore.h:31:18: warning: 'struct device_node' declared inside parameter list [enabled by default] >> drivers/tty/serial/suncore.c:55:5: error: conflicting types for 'sunserial_console_match' include/linux/sunserialcore.h:28:12: note: previous declaration of 'sunserial_console_match' was here >> drivers/tty/serial/suncore.c:83:1: error: conflicting types for 'sunserial_console_match' include/linux/sunserialcore.h:28:12: note: previous declaration of 'sunserial_console_match' was here >> drivers/tty/serial/suncore.c:85:6: error: conflicting types for 'sunserial_console_termios' include/linux/sunserialcore.h:30:13: note: previous declaration of 'sunserial_console_termios' was here Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: George Spelvin <linux@horizon.com> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
38 lines
1.0 KiB
C
38 lines
1.0 KiB
C
/* sunserialcore.h
|
|
*
|
|
* Generic SUN serial/kbd/ms layer. Based entirely
|
|
* upon drivers/sbus/char/sunserial.h which is:
|
|
*
|
|
* Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be)
|
|
*
|
|
* Port to new UART layer is:
|
|
*
|
|
* Copyright (C) 2002 David S. Miller (davem@redhat.com)
|
|
*/
|
|
|
|
#ifndef _SERIAL_SUN_H
|
|
#define _SERIAL_SUN_H
|
|
|
|
#include <linux/device.h>
|
|
#include <linux/serial_core.h>
|
|
#include <linux/console.h>
|
|
|
|
/* Serial keyboard defines for L1-A processing... */
|
|
#define SUNKBD_RESET 0xff
|
|
#define SUNKBD_L1 0x01
|
|
#define SUNKBD_UP 0x80
|
|
#define SUNKBD_A 0x4d
|
|
|
|
extern unsigned int suncore_mouse_baud_cflag_next(unsigned int, int *);
|
|
extern int suncore_mouse_baud_detection(unsigned char, int);
|
|
|
|
extern int sunserial_register_minors(struct uart_driver *, int);
|
|
extern void sunserial_unregister_minors(struct uart_driver *, int);
|
|
|
|
extern int sunserial_console_match(struct console *, struct device_node *,
|
|
struct uart_driver *, int, bool);
|
|
extern void sunserial_console_termios(struct console *,
|
|
struct device_node *);
|
|
|
|
#endif /* !(_SERIAL_SUN_H) */
|