]> err.no Git - linux-2.6/commitdiff
[SERIAL] Remove wrong asm/serial.h inclusions
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 30 Aug 2006 09:27:15 +0000 (10:27 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Oct 2006 16:09:16 +0000 (17:09 +0100)
asm/serial.h is supposed to contain the definitions for the architecture
specific 8250 ports for the 8250 driver.  It may also define BASE_BAUD,
but this is the base baud for the architecture specific ports _only_.

Therefore, nothing other than the 8250 driver should be including this
header file.  In order to move towards this goal, here is a patch which
removes some of the more obvious incorrect includes of the file.

Acked-by: Paul Fulghum <paulkf@microgate.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/frv/kernel/setup.c
arch/ia64/kernel/setup.c
arch/mips/cobalt/setup.c
arch/mips/lasat/setup.c
drivers/char/pcmcia/synclink_cs.c
drivers/char/synclink.c

index d96a57e5f030a93f4f57b5181d4146a6472a65d0..a8c61dac1cee29185ee234cb913a680789cbdc13 100644 (file)
@@ -31,7 +31,6 @@
 #include <linux/serial_reg.h>
 
 #include <asm/setup.h>
-#include <asm/serial.h>
 #include <asm/irq.h>
 #include <asm/sections.h>
 #include <asm/pgalloc.h>
index 84f93c0f2c666b15d3f70c3df47c3c17a5949ad0..c4caa800349220d22b69dc25ac12e490d059c85d 100644 (file)
@@ -54,7 +54,6 @@
 #include <asm/processor.h>
 #include <asm/sal.h>
 #include <asm/sections.h>
-#include <asm/serial.h>
 #include <asm/setup.h>
 #include <asm/smp.h>
 #include <asm/system.h>
index c01a0170e5903e51851d9743566ea3645988bf7f..0b347cffc768d5c39b26f51e0ebf60f8b35729d8 100644 (file)
@@ -23,7 +23,6 @@
 #include <asm/processor.h>
 #include <asm/reboot.h>
 #include <asm/gt64120.h>
-#include <asm/serial.h>
 
 #include <asm/mach-cobalt/cobalt.h>
 
index 0ffc43c600d9a39ef3d7a55cf8ac60244458884e..14c55168f1ff11d50016fa0afe25feea24443f73 100644 (file)
@@ -34,7 +34,6 @@
 #include <asm/cpu.h>
 #include <asm/bootinfo.h>
 #include <asm/irq.h>
-#include <asm/serial.h>
 #include <asm/lasat/lasat.h>
 #include <asm/lasat/serial.h>
 
index 00f574cbb0d47ca0c69d8b4b0c2ed77be9e24282..539efe7826185fe8c4fc72709b8a35ffa8be22b9 100644 (file)
@@ -57,7 +57,6 @@
 #include <linux/netdevice.h>
 #include <linux/vmalloc.h>
 #include <linux/init.h>
-#include <asm/serial.h>
 #include <linux/delay.h>
 #include <linux/ioctl.h>
 
index 78b1b1a2732b3e9216556c3caa2b77354a0457d6..c53f4579a59fa6e8e8beb8634e071f29940fd0ca 100644 (file)
@@ -87,7 +87,6 @@
 
 #include <linux/vmalloc.h>
 #include <linux/init.h>
-#include <asm/serial.h>
 
 #include <linux/delay.h>
 #include <linux/ioctl.h>