[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v5 10/10] ARM: Virt: Add gpio-keys node for Powero
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH v5 10/10] ARM: Virt: Add gpio-keys node for Poweroff using DT |
Date: |
Thu, 17 Dec 2015 13:39:46 +0000 |
On 11 December 2015 at 03:21, Shannon Zhao <address@hidden> wrote:
> From: Shannon Zhao <address@hidden>
>
> Add a gpio-keys node. This is used for Poweroff for the systems which
> use DT not ACPI.
>
> Signed-off-by: Shannon Zhao <address@hidden>
> Signed-off-by: Shannon Zhao <address@hidden>
> Tested-by: Wei Huang <address@hidden>
> ---
> hw/arm/virt.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/hw/arm/virt.c b/hw/arm/virt.c
> index cb1d45b..bd6781bd 100644
> --- a/hw/arm/virt.c
> +++ b/hw/arm/virt.c
> @@ -52,6 +52,7 @@
> #include "kvm_arm.h"
> #include "hw/smbios/smbios.h"
> #include "qapi/visitor.h"
> +#include <linux/input.h>
You can't include <linux/> headers -- this will cause the build to
fail on non-Linux hosts. You need "standard-headers/linux/input.h"
(which is what I suggested you use initially).
I'll fix this up in my tree.
thanks
-- PMM
- [Qemu-arm] [PATCH v5 00/10] Add system_powerdown support on ARM for ACPI and DT, Shannon Zhao, 2015/12/10
- [Qemu-arm] [PATCH v5 10/10] ARM: Virt: Add gpio-keys node for Poweroff using DT, Shannon Zhao, 2015/12/10
- Re: [Qemu-arm] [PATCH v5 10/10] ARM: Virt: Add gpio-keys node for Poweroff using DT,
Peter Maydell <=
- [Qemu-arm] [PATCH v5 08/10] ARM: ACPI: Add _E03 for Power Button, Shannon Zhao, 2015/12/10
- [Qemu-arm] [PATCH v5 09/10] ARM: Virt: Add QEMU powerdown notifier and hook it to GPIO Pin 3, Shannon Zhao, 2015/12/10
- [Qemu-arm] [PATCH v5 01/10] acpi: support serialized method, Shannon Zhao, 2015/12/10
- [Qemu-arm] [PATCH v5 04/10] ARM: ACPI: Add GPIO controller in ACPI DSDT table, Shannon Zhao, 2015/12/10