From patchwork Wed May 30 21:47:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 137299 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp5832709lji; Wed, 30 May 2018 14:48:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKxYsQ77/9Ix+6XqfWf5rq9NBgydrPfbacewZa+Xw5EBfOYnBDnlZp1fz0SQF9WL6lc2ugy X-Received: by 2002:a65:610d:: with SMTP id z13-v6mr3524543pgu.260.1527716893100; Wed, 30 May 2018 14:48:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527716893; cv=none; d=google.com; s=arc-20160816; b=kjFH6bN9LAfKe+6MuNKX53NaOgk5l5luZx7FgwXOhwqEIqTjdy9robPvArW8UMDzuL EC3+95wWjr+T+2ZxJxr7/wjAv3dyx2lZiVlwi1PzYZRPJK8HOFeLG5I+ryn80ioB76az 5yJUhn8FrLfPQYskgQoAaDCuBLlvbfiqOSSsI26b66XDnJCfUeLqNUkvCtgridzC8Xau dhJBpoOfn/ixghccMO8VqLucFrRwIj6v5dI4FPZxleyx/bLpjPCWGGWRGxMGjE07ciYl 2RKF423PYPi/qmH2SYU9T+vlR7MuVCM4xg6mNHEwP5W3dN46h7cU5oVwnBqC5ROcVAKK yVbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=3gUGTEl22guvOZyRnVtKFfM0kFeBTNj6tNkiZJez70c=; b=LHfJ+iU97Eqn4pnscWXQMbtlMcWDEq7mF8gGewdac7cqmG/oiYecq7itbhvkqGo25e qZRb16Nee6KEkk6EK2aTe9dvNAbHltdeZsFb2IJgFmgBw6iPBgMe+C9ntE01aszOx7s2 K9wmSxkjJbGrwP6hZptufkTA7OzpA3zZTzW9hXAyb1bKkeNGHhW0kz5y2J48CE1MqgR3 104l7Ns/OqIK02ZiuqMYp6VUs9l7BZPbFSfDVYF7AWgqYKilaPjOkiTgvrwqmXxAPqS8 0y1rNKSmvs+F4oDAirVhDUZUMRAWnO1diUoJhDFbljAhWLI4RG2mXiY8cgLFCjsaTqEg OHIg== 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 a90-v6si35293135plc.329.2018.05.30.14.48.12; Wed, 30 May 2018 14:48:13 -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 S932535AbeE3VsL (ORCPT + 30 others); Wed, 30 May 2018 17:48:11 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:47625 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932466AbeE3VsE (ORCPT ); Wed, 30 May 2018 17:48:04 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.129]) with ESMTPA (Nemesis) id 0MM2YK-1fPDnh120S-007hq3; Wed, 30 May 2018 23:47:37 +0200 From: Arnd Bergmann To: Xue Liu , Alexander Aring , Stefan Schmidt , "David S. Miller" Cc: Arnd Bergmann , Colin Ian King , "Gustavo A. R. Silva" , linux-wpan@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ieee802154: mcr20a: add missing includes Date: Wed, 30 May 2018 23:47:09 +0200 Message-Id: <20180530214732.1021121-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:0xFqkxSVUKFqwwzauiKdYi9LMCMj06QJQP+ytzKRPBVVrh21etT m+ZXyLHyCaDBYfXsEifyyUEU56Ccx4gYxw34lu9nMgxYdH9dI/WK/DYZBV9Vzt6NzaVccWb o29iGgSXoHow6YPndyGaLBTV5p5K2Tv1ui9HH8wgIF3vEl55d1nLoufTIboweVxZ5iVHuJv DWO2xVJIw95Tbz/hzjzPA== X-UI-Out-Filterresults: notjunk:1; V01:K0:uBFACPNlAcA=:fVEJLM/+Lqe2JanEmvqI9Q zvlnkFPAQXEMa54QFUwH/IdSRqai+Yvdmt+MmGR/5yDgEXLPq+zSA9nyFooF+bbpZvATP65Yd /rd57Bg6yqWhJ5JNtH9cBQpNS8ACGoALQubwT/UTdkqutflc+c+ad9vhU7glDT6/htKbSMw4X hQusyyDQ/9EGNUNN5ogUj1s+oTKGvCZFvTJp3uaS8IJ+NhXmrn+w84A3UZ6TQykQLlP6szX2C wNUdg0XyKo9Z1wlnhQhpLrTreQRoo87nzSb/ue6So3NoWfbarckmgiJACewIu2VmuEPyLoTt+ 3hsNea6W+vBPb1kzCjmV4FPWbXDPXNZbX/wXrED2rqmCCM6bhNveYZgrSm6OI1Y97kiwbYHC/ cYfsdZY4bW1VMLiKI8py4IArcUsTPArUPT7UhEFtnxxXs+iBmxlMvzvnnnyIQVyKS2rFXaQwH CR2ECFMMS8gW0fQq5cFGpcxE0NxU8hy42mXlYUC6w5T73/h0JHRbeM8KPFgWm5wXuXDRpZKWu QRu0RzLoenB0lwnUOX8r55PQTPnY5XTAd6fGi4vo9Cn+fu7gopV5XWP+Qx7tPaAYi75HtsZD1 DTwZ4C2Vl8lPX3BWWUQTwvJljwCU0Jh9Cu/BL0cQFGc9jwdODAbO/thG5chGs8VQdMjpDYTe1 BA0qTYNHKJSRoVCn+IGl5trbbQZ+VUETAX0DaK8AOl3i/MZ+Z0nk3cKZS3X2IY6UlHtk= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.9.0 Acked-by: Xue Liu 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