[PATCH] x86: fix ce4100.c build errors on i386

From: Randy Dunlap
Date: Mon Jul 15 2013 - 11:58:30 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Fix build errors on i386:

arch/x86/platform/ce4100/ce4100.c:165:2: error: 'reboot_type' undeclared (first use in this function)
arch/x86/platform/ce4100/ce4100.c:165:16: error: 'BOOT_KBD' undeclared (first use in this function)

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: x86@xxxxxxxxxx
Cc: Florian Fainelli <ffainelli@xxxxxxxxxx>
Cc: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Cc: Maxime Bizon <mbizon@xxxxxxxxxx>
---
arch/x86/platform/ce4100/ce4100.c | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20130715.orig/arch/x86/platform/ce4100/ce4100.c
+++ linux-next-20130715/arch/x86/platform/ce4100/ce4100.c
@@ -12,6 +12,7 @@
#include <linux/kernel.h>
#include <linux/irq.h>
#include <linux/module.h>
+#include <linux/reboot.h>
#include <linux/serial_reg.h>
#include <linux/serial_8250.h>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/