aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-02-26 14:52:45 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-02-26 14:52:45 +0900
commit96de1a8f0275bd67f243833e7088baced518f873 (patch)
tree017385a3c5665c3bd7a732a875c2584a647e58d5 /include
parent8b1d16540c6ae4e62fcff56bd47794951b3ca87a (diff)
downloadkernel_samsung_smdk4412-96de1a8f0275bd67f243833e7088baced518f873.zip
kernel_samsung_smdk4412-96de1a8f0275bd67f243833e7088baced518f873.tar.gz
kernel_samsung_smdk4412-96de1a8f0275bd67f243833e7088baced518f873.tar.bz2
serial: Move asm-sh/sci.h to linux/serial_sci.h.
This header is needed on other architectures as well (namely h8300), which currently fails to build without this in place. Rather than duplicating the port definition completely there, just move this to a common location instead. This should get h8300 working again for 2.6.25, in addition to the changes already pushed by Sato-san in -rc2. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/serial_sci.h (renamed from include/asm-sh/sci.h)10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/asm-sh/sci.h b/include/linux/serial_sci.h
index 52e7366..893cc53 100644
--- a/include/asm-sh/sci.h
+++ b/include/linux/serial_sci.h
@@ -1,12 +1,10 @@
-#ifndef __ASM_SH_SCI_H
-#define __ASM_SH_SCI_H
+#ifndef __LINUX_SERIAL_SCI_H
+#define __LINUX_SERIAL_SCI_H
#include <linux/serial_core.h>
/*
- * Generic header for SuperH SCI(F)
- *
- * Do not place SH-specific parts in here, sh64 and h8300 depend on this too.
+ * Generic header for SuperH SCI(F) (used by sh/sh64/h8300 and related parts)
*/
/* Offsets into the sci_port->irqs array */
@@ -31,4 +29,4 @@ struct plat_sci_port {
int early_sci_setup(struct uart_port *port);
-#endif /* __ASM_SH_SCI_H */
+#endif /* __LINUX_SERIAL_SCI_H */