Re: [PATCH] x86: ce4100: add head file for reboot type
From: Xiong Zhou
Date: Thu Jul 11 2013 - 23:47:41 EST
2013/7/9 Xiong Zhou <jencce.kernel@xxxxxxxxx>:
> From: Xiong Zhou <jencce.kernel@xxxxxxxxx>
>
> Add head file for reboot type stuff to fix this:
> 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@xxxxxxxxx>
> ---
> arch/x86/platform/ce4100/ce4100.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/x86/platform/ce4100/ce4100.c b/arch/x86/platform/ce4100/ce4100.c
> index baec704..643b8b5e 100644
> --- a/arch/x86/platform/ce4100/ce4100.c
> +++ b/arch/x86/platform/ce4100/ce4100.c
> @@ -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>
cc Jiri Kosina <trivial@xxxxxxxxxx>
--
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/