From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9Ymt-00068I-V6 for qemu-devel@nongnu.org; Thu, 17 Dec 2015 08:40:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9Yms-0000XJ-O6 for qemu-devel@nongnu.org; Thu, 17 Dec 2015 08:40:07 -0500 Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:35481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9Yms-0000Wx-I8 for qemu-devel@nongnu.org; Thu, 17 Dec 2015 08:40:06 -0500 Received: by mail-oi0-x22b.google.com with SMTP id l9so13981307oia.2 for ; Thu, 17 Dec 2015 05:40:06 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1449804086-3464-11-git-send-email-zhaoshenglong@huawei.com> References: <1449804086-3464-1-git-send-email-zhaoshenglong@huawei.com> <1449804086-3464-11-git-send-email-zhaoshenglong@huawei.com> From: Peter Maydell Date: Thu, 17 Dec 2015 13:39:46 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 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: Shannon Zhao Cc: Wei Huang , G Gregory , "Michael S. Tsirkin" , QEMU Developers , "Huangpeng (Peter)" , qemu-arm , Shannon Zhao , Igor Mammedov 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). I'll fix this up in my tree. thanks -- PMM