serial: 8250: remove the redundant include
authorWang Long <long.wanglong@huawei.com>
Mon, 9 Mar 2015 04:17:51 +0000 (04:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 21:21:08 +0000 (22:21 +0100)
The serial_core.h file have been included in header file
serial_8250.h. so remove the "#include <serial_core.h>" in
some 8250 serial drivers, because they have included the header file
serial_8250.h.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c
drivers/tty/serial/8250/8250_dw.c
drivers/tty/serial/8250/8250_early.c
drivers/tty/serial/8250/8250_em.c
drivers/tty/serial/8250/8250_hp300.c
drivers/tty/serial/8250/8250_omap.c

index 3e7cf371137800ce2b9e432263e0e1634ae7dc43..9b2de25359d115890cb73ca57c4eb99aecb8c150 100644 (file)
@@ -31,7 +31,6 @@
 #include <linux/tty.h>
 #include <linux/ratelimit.h>
 #include <linux/tty_flip.h>
-#include <linux/serial_core.h>
 #include <linux/serial.h>
 #include <linux/serial_8250.h>
 #include <linux/nmi.h>
index c536946e4c341e80253494e4c43ac030940f6c28..5a5ecf34b6311e85063409655cf141ad49fcdb03 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/io.h>
 #include <linux/module.h>
 #include <linux/serial_8250.h>
-#include <linux/serial_core.h>
 #include <linux/serial_reg.h>
 #include <linux/of.h>
 #include <linux/of_irq.h>
index a2b4e58690ba4b6e1c4e785def502741143b21f0..e95ebfe8427f4d492fdc4a59736eafe0df264e03 100644 (file)
@@ -29,7 +29,6 @@
 #include <linux/tty.h>
 #include <linux/init.h>
 #include <linux/console.h>
-#include <linux/serial_core.h>
 #include <linux/serial_reg.h>
 #include <linux/serial.h>
 #include <linux/serial_8250.h>
index ae5eaed6aa85e7131c598c9f507e6e2ed673b60f..0b63812149176a7a9c6655f04112d9347ca007da 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/io.h>
 #include <linux/module.h>
 #include <linux/serial_8250.h>
-#include <linux/serial_core.h>
 #include <linux/serial_reg.h>
 #include <linux/platform_device.h>
 #include <linux/clk.h>
index b4882082b2470d38acc1f61947b823850d711b60..2891958cd8420303a5e11cac8c72f359b7c2c229 100644 (file)
@@ -10,7 +10,6 @@
 #include <linux/string.h>
 #include <linux/kernel.h>
 #include <linux/serial.h>
-#include <linux/serial_core.h>
 #include <linux/serial_8250.h>
 #include <linux/delay.h>
 #include <linux/dio.h>
index fe6d2e51da09266324d0ac93af72da3578280c85..9289999cb7c62bb05b2a4b758fa76d5ce9413316 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/io.h>
 #include <linux/module.h>
 #include <linux/serial_8250.h>
-#include <linux/serial_core.h>
 #include <linux/serial_reg.h>
 #include <linux/tty_flip.h>
 #include <linux/platform_device.h>