mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 22:56:27 +08:00
[SERIAL] Remove wrong asm/serial.h inclusions
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>
This commit is contained in:
parent
1d5e799663
commit
bcf5111a58
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -87,7 +87,6 @@
|
||||
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/init.h>
|
||||
#include <asm/serial.h>
|
||||
|
||||
#include <linux/delay.h>
|
||||
#include <linux/ioctl.h>
|
||||
|
Loading…
Reference in New Issue
Block a user