From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9Yvk-0000Yo-74 for qemu-devel@nongnu.org; Thu, 17 Dec 2015 08:49:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9Yvj-0002nz-6c for qemu-devel@nongnu.org; Thu, 17 Dec 2015 08:49:16 -0500 Message-ID: <5672BC05.3080402@huawei.com> Date: Thu, 17 Dec 2015 21:43:33 +0800 From: Shannon Zhao MIME-Version: 1.0 References: <1449804086-3464-1-git-send-email-zhaoshenglong@huawei.com> <1449804086-3464-11-git-send-email-zhaoshenglong@huawei.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 10/10] ARM: Virt: Add gpio-keys node for Poweroff using DT List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Wei Huang , G Gregory , "Michael S. Tsirkin" , QEMU Developers , "Huangpeng (Peter)" , qemu-arm , Shannon Zhao , Igor Mammedov On 2015/12/17 21:39, Peter Maydell wrote: > On 11 December 2015 at 03:21, Shannon Zhao wrote: >> > From: Shannon Zhao >> > >> > Add a gpio-keys node. This is used for Poweroff for the systems which >> > use DT not ACPI. >> > >> > Signed-off-by: Shannon Zhao >> > Signed-off-by: Shannon Zhao >> > Tested-by: Wei Huang >> > --- >> > 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 > You can't include 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