Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4915414imm; Wed, 30 May 2018 14:49:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL0hWMMis804Bc1OkYhdIGcVopWJBfXH1UT+/cejDD1gbrFEaQCeIQ2FQT53+YjOcnDnyCA X-Received: by 2002:a63:9702:: with SMTP id n2-v6mr372984pge.88.1527716966772; Wed, 30 May 2018 14:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527716966; cv=none; d=google.com; s=arc-20160816; b=EAz9hFy610ddQa8Hby92Y7gqqwyBj0Kmaq642RJ5H4l3/gJWilCB8Yxzrym6LMLyvu +Ow9VdzHoQ+H3GDlOT5fX4kFu3BTDbJWefTwqgR/5wyE9o0XGIg01ubvHOPG3ZtydLtA 2KXVJVe3lOIjjB0UIXtegxgGbTERodmATZHoWnlDTO+wJq87Xr5Zatb0CwUgv9AIVjRK AaMaWiRk7J/PVyR0nSPNuPfLoikzkixXkBW1R/7WBW7lHrAi6gJoziDhCpJZJKdLLtuj Rv7wGY14DenRTtO+IOJtrbYqryA8MurX0K1GKLqQOuiD9RmPyP5WZnH7ECmvjdx6fej2 dgug== 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 i4-v6si28037863pgq.405.2018.05.30.14.49.12; Wed, 30 May 2018 14:49:26 -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 S932521AbeE3VsL (ORCPT + 99 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(-) 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