summaryrefslogtreecommitdiffstats
path: root/kernel/debug/gdbstub.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-04 15:35:26 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-04 15:35:26 -0800
commit16559ae48c76f1ceb970b9719dea62b77eb5d06b (patch)
tree4ae548f78dedaf7d843d68f04effadc9a02fd040 /kernel/debug/gdbstub.c
parent85f024401bf80746ae08b7fd5809a9b16accf0b1 (diff)
downloadop-kernel-dev-16559ae48c76f1ceb970b9719dea62b77eb5d06b.zip
op-kernel-dev-16559ae48c76f1ceb970b9719dea62b77eb5d06b.tar.gz
kgdb: remove #include <linux/serial_8250.h> from kgdb.h
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>
Diffstat (limited to 'kernel/debug/gdbstub.c')
-rw-r--r--kernel/debug/gdbstub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/debug/gdbstub.c b/kernel/debug/gdbstub.c
index ce615e0..38573f3 100644
--- a/kernel/debug/gdbstub.c
+++ b/kernel/debug/gdbstub.c
@@ -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>
OpenPOWER on IntegriCloud