From patchwork Wed Mar 29 21:20:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 668329 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90B66C77B70 for ; Wed, 29 Mar 2023 21:21:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230094AbjC2VVw (ORCPT ); Wed, 29 Mar 2023 17:21:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229846AbjC2VVr (ORCPT ); Wed, 29 Mar 2023 17:21:47 -0400 Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E4F13591; Wed, 29 Mar 2023 14:21:45 -0700 (PDT) Received: by mail-oo1-f44.google.com with SMTP id o15-20020a4ae58f000000b00538c0ec9567so2677230oov.1; Wed, 29 Mar 2023 14:21:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680124904; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=37Xl94wcW5o8GgPxt4yvsEyDEY9V4plxLsoIYPVLn9U=; b=QF/udCgzylliagzBU+2PetUErv9u5VXOcuD4b5l/jdjOspM297JNnjeS6SYXLXzTnA 2KSwbuykjJ1pPfkBLgIEZ0LxyxJY6AzyK6Azh9FHtWFhXfueXc56EEpk5QFbsQwGbeTz 6JL6scLqPZ0PKWLeWaQL9C7UeTlZh/SYVmSS4QlW2PZunmTXg703SvrSc+EO3y6HFHQ2 FOFs/rtkdd87tgizBguempBmbCOYBhcGtIgZV0mVPxm9loBUmjZp/ZZYzU68mV8gCVa2 2uI7gf2Xv8nGxLVJ540pUsr9j1ymm31nuksb8+O3TZlp9FBaQYnZ60ySyUB1/lkJ4YNy mpMQ== X-Gm-Message-State: AO0yUKXM88vjum8EtFj/jmyBQwOgIw9aC7tKL5x6UIjTT4jWOeyZRtpJ afvyPDxTQH+yHA7+HVxYHA== X-Google-Smtp-Source: AK7set++w7Qvp7fi2DIzI+DP77MwWEUdgIW4IIMfm5HQ31TJqVwIb2TPyVmM9Cf/Vqup9kOVESVp/Q== X-Received: by 2002:a4a:2ccf:0:b0:52b:bab5:eba2 with SMTP id o198-20020a4a2ccf000000b0052bbab5eba2mr9319519ooo.0.1680124904322; Wed, 29 Mar 2023 14:21:44 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id c3-20020aca1c03000000b0038901ece6e9sm4982583oic.12.2023.03.29.14.21.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 14:21:44 -0700 (PDT) Received: (nullmailer pid 86891 invoked by uid 1000); Wed, 29 Mar 2023 21:21:39 -0000 From: Rob Herring Date: Wed, 29 Mar 2023 16:20:42 -0500 Subject: [PATCH 1/5] iio: adc: ad7292: Add explicit include for of.h MIME-Version: 1.0 Message-Id: <20230329-acpi-header-cleanup-v1-1-8dc5cd3c610e@kernel.org> References: <20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org> In-Reply-To: <20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org> To: "Rafael J. Wysocki" , Len Brown , Marcelo Schmitt , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Greg Kroah-Hartman , Johannes Berg , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jiri Slaby , Thierry Reding , Jonathan Hunter , Marc Zyngier Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-serial@vger.kernel.org, linux-tegra@vger.kernel.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.13-dev Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org With linux/acpi.h no longer implicitly including of.h, add an explicit include of of.h to fix the following error: drivers/iio/adc/ad7292.c:307:9: error: implicit declaration of function 'for_each_available_child_of_node'; did you mean 'fwnode_for_each_available_child_node'? [-Werror=implicit-function-declaration] Signed-off-by: Rob Herring Acked-by: Marcelo Schmitt --- drivers/iio/adc/ad7292.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/adc/ad7292.c b/drivers/iio/adc/ad7292.c index a2f9fda25ff3..cccacec5db6d 100644 --- a/drivers/iio/adc/ad7292.c +++ b/drivers/iio/adc/ad7292.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include From patchwork Wed Mar 29 21:20:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 668328 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7466C74A5B for ; Wed, 29 Mar 2023 21:22:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230164AbjC2VWG (ORCPT ); Wed, 29 Mar 2023 17:22:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbjC2VVu (ORCPT ); Wed, 29 Mar 2023 17:21:50 -0400 Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2D4E558E; Wed, 29 Mar 2023 14:21:49 -0700 (PDT) Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-17ac5ee3f9cso17681114fac.12; Wed, 29 Mar 2023 14:21:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680124909; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D6kdJkdEvlZGQb1vCK3qYJWmWN2WbnFemR8/3BecZeY=; b=BGL1+h1zAA/NzWp+Iuw9NVD9jKTcIMeSSZQQD3ZbfGKfmYl9V7C7vgotO06xfttpr+ Pphta7ltgRoylNsGK7+kTRhVm+pS86phvGxDXFUXwW/ZnI7qYgzXERXs/WVPY5QbJKXE vVbkt9bdn8ktBKeVC9E/weQG0zoyRULcSTwpEIbRvdQxSAJ9WjOyqZAzxqsv9joViwPR S0szwF+2K+Z7gIuixA0KZSTOo0PwdUyJYDSdii3IH7fpnMYDH1Ga7vyjVypEZsOTLk/R bOYB2U9el6aoZ8cA5Cg461g4GrC9fibm9DyQ0f6Q0GwjWTWo6Tgp5E3nzecDfaU1KuQs qkJA== X-Gm-Message-State: AAQBX9fbSR/sTM0Cevx2TrB341C+mw/YidKEQQO0UC3VIGv0WiMhGUYi srHNV0g4vozD6Kt9VR91LQ== X-Google-Smtp-Source: AKy350Yz8wBQUIa2vxnrxVjt+nPqC1UmY+M1RkG0ncdyC4Riz1moWMsQ9Ah3S0EOekgAOjxhUNzThA== X-Received: by 2002:a05:6870:3284:b0:17a:f8b1:8bae with SMTP id q4-20020a056870328400b0017af8b18baemr11963271oac.37.1680124908972; Wed, 29 Mar 2023 14:21:48 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id z26-20020a056830129a00b006a1508d348dsm2892795otp.22.2023.03.29.14.21.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 14:21:48 -0700 (PDT) Received: (nullmailer pid 86895 invoked by uid 1000); Wed, 29 Mar 2023 21:21:39 -0000 From: Rob Herring Date: Wed, 29 Mar 2023 16:20:44 -0500 Subject: [PATCH 3/5] net: rfkill-gpio: Add explicit include for of.h MIME-Version: 1.0 Message-Id: <20230329-acpi-header-cleanup-v1-3-8dc5cd3c610e@kernel.org> References: <20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org> In-Reply-To: <20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org> To: "Rafael J. Wysocki" , Len Brown , Marcelo Schmitt , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Greg Kroah-Hartman , Johannes Berg , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jiri Slaby , Thierry Reding , Jonathan Hunter , Marc Zyngier Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-serial@vger.kernel.org, linux-tegra@vger.kernel.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.13-dev Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org With linux/acpi.h no longer implicitly including of.h, add an explicit include of of.h to fix the following error: net/rfkill/rfkill-gpio.c:181:21: error: implicit declaration of function 'of_match_ptr' is invalid in C99 [-Werror,-Wimplicit-function-declaration] Signed-off-by: Rob Herring --- net/rfkill/rfkill-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c index 786dbfdad772..e9d1b2f2ff0a 100644 --- a/net/rfkill/rfkill-gpio.c +++ b/net/rfkill/rfkill-gpio.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include From patchwork Wed Mar 29 21:20:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 668330 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9181AC74A5B for ; Wed, 29 Mar 2023 21:21:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229962AbjC2VVt (ORCPT ); Wed, 29 Mar 2023 17:21:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229842AbjC2VVr (ORCPT ); Wed, 29 Mar 2023 17:21:47 -0400 Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8ED5019A1; Wed, 29 Mar 2023 14:21:43 -0700 (PDT) Received: by mail-ot1-f44.google.com with SMTP id cm7-20020a056830650700b006a11f365d13so7668014otb.0; Wed, 29 Mar 2023 14:21:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680124903; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kTc/gK9GmP1rEeyJeskNOO/tBqpZ4qwY5m/PbyMALU8=; b=6chlyWDT3cRgughqrwOB33jgJalt+fmIT9dgv/WwW82eeRnrdd0HoJjok1HdH+Xuam D46u548U/W7WTvicSBVMqAijYxYheuI0nbStOfo/6SKeFvX8cZmSC5wWTdD1AjFFCbPg Ke9Mt4mrzFaHq1aMO3YkqaO7Rg0lxrufdjGETxqwqRXL0BGfab6tQzj3wN6roz0lGc1Q IdDzBMPAOY27FNXy5zq0E+plzuX4Cuodzwl+lCrKe3kBmtmxPVe4ZFcwZ2rZcyXFnsfK lriCzslYdsDml8TPhH7jXVW/sC3TNPQD3d8Tr6hYrRsC6vme/yvxg/2L7R+JYuugIfHY 8kwg== X-Gm-Message-State: AO0yUKW1/56LMILzXzKRYNoa7sduzP0quDiE1Q3u4kijEgGeC9GefwZv yjQAZak5rZmkKcvR2Ayztg== X-Google-Smtp-Source: AK7set+ImQpMRKobWrA54g0Rd55UmfWERJrl2wg/MsdZOQM+xtCfqAdTFVRvw6llUMom53yDtU8M2w== X-Received: by 2002:a05:6830:1bed:b0:69f:8fe4:38b9 with SMTP id k13-20020a0568301bed00b0069f8fe438b9mr10389551otb.21.1680124902837; Wed, 29 Mar 2023 14:21:42 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id t16-20020a0568301e3000b0069f9209c84dsm9588548otr.60.2023.03.29.14.21.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 14:21:42 -0700 (PDT) Received: (nullmailer pid 86897 invoked by uid 1000); Wed, 29 Mar 2023 21:21:39 -0000 From: Rob Herring Date: Wed, 29 Mar 2023 16:20:45 -0500 Subject: [PATCH 4/5] serial: 8250_tegra: Add explicit include for of.h MIME-Version: 1.0 Message-Id: <20230329-acpi-header-cleanup-v1-4-8dc5cd3c610e@kernel.org> References: <20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org> In-Reply-To: <20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org> To: "Rafael J. Wysocki" , Len Brown , Marcelo Schmitt , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Greg Kroah-Hartman , Johannes Berg , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jiri Slaby , Thierry Reding , Jonathan Hunter , Marc Zyngier Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-serial@vger.kernel.org, linux-tegra@vger.kernel.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.13-dev Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org With linux/acpi.h no longer implicitly including of.h, add an explicit include of of.h to fix the following error: drivers/tty/serial/8250/8250_tegra.c:68:15: error: implicit declaration of function 'of_alias_get_id' [-Werror=implicit-function-declaration] Signed-off-by: Rob Herring --- drivers/tty/serial/8250/8250_tegra.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/8250/8250_tegra.c b/drivers/tty/serial/8250/8250_tegra.c index e7cddeec9d8e..2509e7f74ccf 100644 --- a/drivers/tty/serial/8250/8250_tegra.c +++ b/drivers/tty/serial/8250/8250_tegra.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include