tty: sparc: rename drivers/tty/serial/suncore.h -> include/linux/sunserialcore.h
There are multiple users of this file from different source paths now, and rather than have ../ paths in include statements, just move the file to the linux header dir. Suggested-by: David S. Miller <davem@davemloft.net> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5a22e30def
commit
6816383a09
@@ -6187,8 +6187,8 @@ L: sparclinux@vger.kernel.org
|
|||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6.git
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next-2.6.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next-2.6.git
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
F: include/linux/sunserialcore.h
|
||||||
F: drivers/tty/serial/suncore.c
|
F: drivers/tty/serial/suncore.c
|
||||||
F: drivers/tty/serial/suncore.h
|
|
||||||
F: drivers/tty/serial/sunhv.c
|
F: drivers/tty/serial/sunhv.c
|
||||||
F: drivers/tty/serial/sunsab.c
|
F: drivers/tty/serial/sunsab.c
|
||||||
F: drivers/tty/serial/sunsab.h
|
F: drivers/tty/serial/sunsab.h
|
||||||
|
@@ -38,16 +38,15 @@
|
|||||||
#include <linux/nmi.h>
|
#include <linux/nmi.h>
|
||||||
#include <linux/mutex.h>
|
#include <linux/mutex.h>
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
#ifdef CONFIG_SPARC
|
||||||
|
#include <linux/sunserialcore.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/irq.h>
|
#include <asm/irq.h>
|
||||||
|
|
||||||
#include "8250.h"
|
#include "8250.h"
|
||||||
|
|
||||||
#ifdef CONFIG_SPARC
|
|
||||||
#include "../suncore.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Configuration:
|
* Configuration:
|
||||||
* share_irqs - whether we pass IRQF_SHARED to request_irq(). This option
|
* share_irqs - whether we pass IRQF_SHARED to request_irq(). This option
|
||||||
|
@@ -17,11 +17,11 @@
|
|||||||
#include <linux/errno.h>
|
#include <linux/errno.h>
|
||||||
#include <linux/string.h>
|
#include <linux/string.h>
|
||||||
#include <linux/serial_core.h>
|
#include <linux/serial_core.h>
|
||||||
|
#include <linux/sunserialcore.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
|
|
||||||
#include <asm/prom.h>
|
#include <asm/prom.h>
|
||||||
|
|
||||||
#include "suncore.h"
|
|
||||||
|
|
||||||
static int sunserial_current_minor = 64;
|
static int sunserial_current_minor = 64;
|
||||||
|
|
||||||
|
@@ -29,8 +29,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <linux/serial_core.h>
|
#include <linux/serial_core.h>
|
||||||
|
#include <linux/sunserialcore.h>
|
||||||
#include "suncore.h"
|
|
||||||
|
|
||||||
#define CON_BREAK ((long)-1)
|
#define CON_BREAK ((long)-1)
|
||||||
#define CON_HUP ((long)-2)
|
#define CON_HUP ((long)-2)
|
||||||
|
@@ -43,8 +43,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <linux/serial_core.h>
|
#include <linux/serial_core.h>
|
||||||
|
#include <linux/sunserialcore.h>
|
||||||
|
|
||||||
#include "suncore.h"
|
|
||||||
#include "sunsab.h"
|
#include "sunsab.h"
|
||||||
|
|
||||||
struct uart_sunsab_port {
|
struct uart_sunsab_port {
|
||||||
|
@@ -47,8 +47,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <linux/serial_core.h>
|
#include <linux/serial_core.h>
|
||||||
|
#include <linux/sunserialcore.h>
|
||||||
#include "suncore.h"
|
|
||||||
|
|
||||||
/* We are on a NS PC87303 clocked with 24.0 MHz, which results
|
/* We are on a NS PC87303 clocked with 24.0 MHz, which results
|
||||||
* in a UART clock of 1.8462 MHz.
|
* in a UART clock of 1.8462 MHz.
|
||||||
|
@@ -43,8 +43,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <linux/serial_core.h>
|
#include <linux/serial_core.h>
|
||||||
|
#include <linux/sunserialcore.h>
|
||||||
|
|
||||||
#include "suncore.h"
|
|
||||||
#include "sunzilog.h"
|
#include "sunzilog.h"
|
||||||
|
|
||||||
/* On 32-bit sparcs we need to delay after register accesses
|
/* On 32-bit sparcs we need to delay after register accesses
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
/* suncore.h
|
/* sunserialcore.h
|
||||||
*
|
*
|
||||||
* Generic SUN serial/kbd/ms layer. Based entirely
|
* Generic SUN serial/kbd/ms layer. Based entirely
|
||||||
* upon drivers/sbus/char/sunserial.h which is:
|
* upon drivers/sbus/char/sunserial.h which is:
|
Reference in New Issue
Block a user