Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1070375imm; Fri, 1 Jun 2018 14:53:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKfJxAf2FqvNC7iJ4g9EHRTLRnODbaDJsAxjT6yVsOL90njGY3QX9NpZ9y+KVNpNyvSzfH1 X-Received: by 2002:a17:902:59ce:: with SMTP id d14-v6mr12962545plj.253.1527890024452; Fri, 01 Jun 2018 14:53:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527890024; cv=none; d=google.com; s=arc-20160816; b=RgC/kb4hwwlr21Ov6Ckd2xy9WmjF6aWJr2+NRRs2M9al0JysXQLgjzmA29gFfeESzI xyKPV2aB1eU5cws9jXmuMmxg2ixb8NziJtz8ltN1p66VFAiLHwwEpG0EcGII4Gt8OcKd T43iuGoeL6p78eY6J/mnwjv239AYDMSd7SoMpZv4wQkJX14XbGRz42f3s761rAWfgPGx DB/GRvwMIMwToD4N2bj6NdGD1LuKJ0mORWn/wLtWKzb4HcDZ5IiGG4f3f6lu2zSAZLBD MLaiP3jQNMYaqFgf2M+XwbIZAEUxM6p5z+IWLujQVPrUwkuHkS90am1Kz95VSRItsetJ Vm6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=7pPCa0K+oh/Xo8/37N32CUKTGzGY4qaEPwc+8bVqRAY=; b=I5LrQvoU6Cg0KhRh8iVwpo5Bm6fafi31e7FPkPz/FfD55MlraULaEN3FiSzpbFQ4RG x6oPu6I6nz5Pzg63PlPl1R8CTgxnqQYO+ybB0OwnZFensQB2p7ncnHew0ZiT4G+W23jJ ooC7a2UJuhyPKRiq2CKJaeL+YyNWqCk3IjTqOOy+UVEKxz4P36Fg7gFRcqCTeRPfFM6C d5vzGV7qoZQD0P0DmCT41hyNYNIzORkULrC5T8NLjzAg8svIsk3aquXIvZNq4c6oJUGO UVWlwF2nMnqWQSZ2YPKR0WfVpGV/KPRqTAgxJJun9AvGfUEGleTvCkAEeaM8af8CY6mA yreg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hj6RT/KU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si40472189pla.565.2018.06.01.14.53.28; Fri, 01 Jun 2018 14:53:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hj6RT/KU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751191AbeFAVxC (ORCPT + 99 others); Fri, 1 Jun 2018 17:53:02 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:44031 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750934AbeFAVxA (ORCPT ); Fri, 1 Jun 2018 17:53:00 -0400 Received: by mail-pg0-f67.google.com with SMTP id p8-v6so11799726pgq.10; Fri, 01 Jun 2018 14:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7pPCa0K+oh/Xo8/37N32CUKTGzGY4qaEPwc+8bVqRAY=; b=hj6RT/KUyZcxISc74ROUbxKvGwrZwOAsyioAzNK1NzA88B8MlPDGPFxXeer+qqAYlx pm7QzxKHuOJQVooi6dotzXX50A0452T8r/7HEQy27JuTgi/+S03/AxgoK6kz9cbp6fcp Fyc9mShCnq/txC13lUmZos8wrrforoOWfvJU7mB5ITDPWIzmKISATqVKKLugxeKgpkX0 vOM8w1YrQ10OjG5UevOmQBYxyO19ozzSSOuv6/ShZKFDMKJ8+sq3XgrSm1gp3jUanBVx kX4hlpii2Bw/fcYeE8yB05L1lmC9hyHMPZDw4FYbowqqOx0FEgfmf5Xh5oCvHesRNaGf vkrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7pPCa0K+oh/Xo8/37N32CUKTGzGY4qaEPwc+8bVqRAY=; b=bYDZOYMJkayHzzzaKCtMz48TUG0OSuUqoWmZDzJhyrMh6O7BkJGX9UEWZsinQzO/d2 TgWSqeciRiytWMA9OwPN4lfpkuStveYiv4A0/G+PONnLH2neSJrNFIM9VduOKyv5wkwu MDJpkE1rhQ5Pg47igxYaUxhz9APRvsxM7XpCSkavQ9TGrls1C80C/pfUfgXgqEnbkd2T IOvRfoXn18di0ru6uQhwd2SNgRVVhvYEmTdnCFlHJX3PKfahZsSQX+ZhyEOJYO8c8xmn XZG9dugn+uS1yfXsTBBdqxtZNDzUCp3SMi+n+b8CljG7BY9Htdad5zU9KQQXkGYTLG3T 3F9w== X-Gm-Message-State: ALKqPwcP87323yeFMSsrE1PCnKeXHrcqPNEzq6B5GV8OZb/Wa6tkpnxA r04OGr/brYU8sUyoviY5Q8+nb8lE6RpOk6m5ogQ= X-Received: by 2002:a62:1282:: with SMTP id 2-v6mr12433355pfs.243.1527889980159; Fri, 01 Jun 2018 14:53:00 -0700 (PDT) MIME-Version: 1.0 References: <20180530214732.1021121-1-arnd@arndb.de> In-Reply-To: <20180530214732.1021121-1-arnd@arndb.de> From: Xue Liu Date: Fri, 1 Jun 2018 23:52:23 +0200 Message-ID: Subject: Re: [PATCH] ieee802154: mcr20a: add missing includes To: arnd@arndb.de Cc: "alex. aring" , Stefan Schmidt , "David S. Miller" , colin.king@canonical.com, "Gustavo A. R. Silva" , linux-wpan - ML , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Arnd, Thanks for the fix. Acked-by: Xue Liu On Wed, 30 May 2018 at 23:47, Arnd Bergmann wrote: > > Without CONFIG_GPIOLIB, some headers are not included implicitly, > leading to a build failure: > > drivers/net/ieee802154/mcr20a.c: In function 'mcr20a_probe': > drivers/net/ieee802154/mcr20a.c:1347:13: error: implicit declaration of function 'irq_get_trigger_type'; did you mean 'irq_get_irqchip_state'? [-Werror=implicit-function-declaration] > > This includes gpio/consumer.h and irq.h directly rather through the > gpiolib header. > > Fixes: 8c6ad9cc5157 ("ieee802154: Add NXP MCR20A IEEE 802.15.4 transceiver driver") > Signed-off-by: Arnd Bergmann > --- > drivers/net/ieee802154/mcr20a.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/ieee802154/mcr20a.c b/drivers/net/ieee802154/mcr20a.c > index de0d7f28a181..e428277781ac 100644 > --- a/drivers/net/ieee802154/mcr20a.c > +++ b/drivers/net/ieee802154/mcr20a.c > @@ -15,10 +15,11 @@ > */ > #include > #include > -#include > +#include > #include > #include > #include > +#include > #include > #include > #include > -- > 2.9.0 > --