[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: |
Shannon Zhao |
Subject: |
Re: [Qemu-arm] [PATCH v5 10/10] ARM: Virt: Add gpio-keys node for Poweroff using DT |
Date: |
Thu, 17 Dec 2015 21:43:33 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 2015/12/17 21:39, Peter Maydell wrote:
> 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).
>
Oh, sorry for this.
> I'll fix this up in my tree.
Thanks!
--
Shannon
- [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
- [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
- [Qemu-arm] [PATCH v5 05/10] ARM: ACPI: Add power button device in ACPI DSDT table, Shannon Zhao, 2015/12/10