x86/platform/ce4100: Add header file for reboot type
authorXiong Zhou <jencce.kernel@gmail.com>
Tue, 9 Jul 2013 03:06:27 +0000 (11:06 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 12 Jul 2013 10:21:20 +0000 (12:21 +0200)
Add header file for reboot type to fix this build failure:

 error: 'reboot_type' undeclared (first use in this function)
 error: 'BOOT_KBD' undeclared (first use in this function)

Signed-off-by: Xiong Zhou <jencce.kernel@gmail.com>
Cc: rui.zhang@intel.com
Cc: alan@linux.intel.com
Cc: ffainelli@freebox.fr
Cc: mbizon@freebox.fr
Cc: matthew.garrett@nebula.com
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1307091053280.28371@M2420
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/platform/ce4100/ce4100.c

index f8ab4945892ee8f484006e568c1def8f1beff8bd..9962015a3d550abb0d5c55db70b2f7213dc6f556 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/module.h>
 #include <linux/serial_reg.h>
 #include <linux/serial_8250.h>
+#include <linux/reboot.h>
 
 #include <asm/ce4100.h>
 #include <asm/prom.h>