Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp435810imm; Thu, 5 Jul 2018 02:59:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfRwxM6EtICwYm0Df6YT3qhBLSZ3sQCrOmmu8rYfBMuiNrZ73b2d0wbr8TK0HAFTouJiAai X-Received: by 2002:a62:aa02:: with SMTP id e2-v6mr5649930pff.211.1530784746411; Thu, 05 Jul 2018 02:59:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530784746; cv=none; d=google.com; s=arc-20160816; b=MYgqPEbOZIe1l8YPrF4lsuBvbVEBCItxv1Isb5EvvcegihjUvfoLXWCLX0q0SxRXhK f1vCY+IE2VsXYrrN5dDrwv+fZwrm9BXmHX++tQhhVhaWrDvw6po4YPMKb94HtO0yuIJ/ D53j99mMKfDPgf2Grp/lg6cKxoTVKsNVtLOhMZtKUX42jpwNmeHnSLNJijmyUVGE3TZB n/F9Gdax7qI7cRJMiz83GUwOPur0h0LCG7CxRmxy0IunmWgxFBcCgomK9IZJcWgk8WP3 LBRnUYwtWOUV4Z41odJLfXcJ9zy+bZhfBF3Y+RKJYWVQnTRp/yKWSWhe6d6rM3MBYrR5 QrLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from:arc-authentication-results; bh=8DrU3gC1Qs6TOnJta5B0nQ6ZbtmuwWrWVTqlnmtpZKY=; b=CFxlFLy+MLvPB8BOj94LyARKcqTnE7EBpoomBIxwUfkKEpR5qnB0RV2SmVA6t4xgnT 2RfA/SoOi6all9ZlBzPwpXggVixlu2ggIXOSmCjd34l6uYK/uSt2VK8QkYmGEg9s/ZvC fBYiIMXxUsbGgr9wU+fNhLy+lntcdB9Kl0XBLEe4b5cBgVAQH+A4GG4Dm7Rk5KUSQQxo QaXS7urRSzicOmza1bwCFfBJR4hzyo0C89nyeM+kRuy9Z1T+hwkvfb+urYiV4VyjiSrD dPSJLgGf7UUgqfWzwIqCW9NOn5bZiZuk16XMMvvNIASPUH1KcyxV+bzOxtybEJJEdNWt Fosg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y23-v6si5352580pgk.427.2018.07.05.02.58.51; Thu, 05 Jul 2018 02:59:06 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753538AbeGEJ54 (ORCPT + 99 others); Thu, 5 Jul 2018 05:57:56 -0400 Received: from proxima.lasnet.de ([78.47.171.185]:49733 "EHLO proxima.lasnet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753120AbeGEJ5y (ORCPT ); Thu, 5 Jul 2018 05:57:54 -0400 Received: from [IPv6:2003:e9:d74b:8bb:3252:cbff:fe54:190f] (p200300E9D74B08BB3252CBFFFE54190F.dip0.t-ipconnect.de [IPv6:2003:e9:d74b:8bb:3252:cbff:fe54:190f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: stefan@datenfreihafen.org) by proxima.lasnet.de (Postfix) with ESMTPSA id 75804C7FFB; Thu, 5 Jul 2018 11:57:52 +0200 (CEST) From: Stefan Schmidt Subject: [PATCH] ieee802154: mcr20a: add missing includes To: Arnd Bergmann , Xue Liu , Alexander Aring , Stefan Schmidt , "David S. Miller" Cc: Colin Ian King , "Gustavo A. R. Silva" , linux-wpan@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180530214732.1021121-1-arnd@arndb.de> Message-ID: Date: Thu, 5 Jul 2018 11:57:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180530214732.1021121-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. [Sorry for the delay here, I was on a few weeks on leave] On 30.05.2018 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 > This patch has been applied to the wpan tree and will be part of the next pull request to net. Thanks! regards Stefan Schmidt