]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kgdb: remove #include <linux/serial_8250.h> from kgdb.h
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 23:35:26 +0000 (15:35 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 23:35:26 +0000 (15:35 -0800)
There's no reason kgdb.h itself needs to include the 8250 serial port
header file.  So push it down to the _very_ limited number of individual
drivers that need the values in that file, and fix up the places where
people really wanted serial_core.h and platform_device.h.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/gma500/cdv_intel_dp.c
drivers/tty/serial/kgdb_nmi.c
drivers/video/auo_k190x.c
drivers/video/backlight/ot200_bl.c
include/linux/kgdb.h
kernel/debug/debug_core.c
kernel/debug/gdbstub.c

index 51044cc55cf20ed976e8d78101c6f43e62d49294..88d9ef6b5b4a20f2d2d6dfaa3e3621008db09cd3 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <linux/i2c.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <drm/drmP.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_crtc_helper.h>
index 26a50b0c868b408fd89e001aaa3ff45b0629e524..5dafcf1c227ba88ed9cf5025e6c965203464dc4b 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/tty.h>
 #include <linux/tty_driver.h>
 #include <linux/tty_flip.h>
+#include <linux/serial_core.h>
 #include <linux/interrupt.h>
 #include <linux/hrtimer.h>
 #include <linux/tick.h>
index 97f79356141e535de24886dbae9e2873da0f4095..53846cb534d40c35a6debb010c3d12e55a6bcc20 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/gpio.h>
+#include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
 #include <linux/fb.h>
 #include <linux/delay.h>
index 469cf0f109d2a501a9d3d9aafb0ebecf0464f299..fdbb6ee5027ce18f3e21ada191bdb929d193f225 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/fb.h>
 #include <linux/backlight.h>
 #include <linux/gpio.h>
+#include <linux/platform_device.h>
 #include <linux/cs5535.h>
 
 static struct cs5535_mfgpt_timer *pwm_timer;
index 4dff0c6ed58fa5a439f1b9044c4f275465ecaebe..c6e091bf39a52e73a0964036ef3e1888e7be61d9 100644 (file)
@@ -13,7 +13,6 @@
 #ifndef _KGDB_H_
 #define _KGDB_H_
 
-#include <linux/serial_8250.h>
 #include <linux/linkage.h>
 #include <linux/init.h>
 #include <linux/atomic.h>
index 9a61738cefc8828c310618cd9dc6bd1d0ec44959..c26278fd4851350283c9f04de69f939228ca256b 100644 (file)
@@ -29,6 +29,7 @@
  */
 #include <linux/pid_namespace.h>
 #include <linux/clocksource.h>
+#include <linux/serial_core.h>
 #include <linux/interrupt.h>
 #include <linux/spinlock.h>
 #include <linux/console.h>
index ce615e064482c00fcfb6c98cd4b3f4fa98435ba6..38573f35a5ad8acf12d55d52a3814daebde8a069 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/kernel.h>
 #include <linux/kgdb.h>
 #include <linux/kdb.h>
+#include <linux/serial_core.h>
 #include <linux/reboot.h>
 #include <linux/uaccess.h>
 #include <asm/cacheflush.h>