Skip to contentSkip to conversation

x86: fix ce4100.c build errors on i386

PATCH New Randy Dunlap 1 participant 1 message Jul 15, 2013 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: fix ce4100.c build errors on i386

From: Randy Dunlap <[email protected]>

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)

Cc Florian Fainelli <[email protected]>
Cc Sebastian Andrzej Siewior <[email protected]>
Cc Maxime Bizon <[email protected]>
---
 arch/x86/platform/ce4100/ce4100.c |    1 +
 1 file changed, 1 insertion(+)
arch/x86/platform/ce4100/ce4100.c +1 -0
@@ -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>