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 \(Arm\)" X-Patchwork-Id: 668802 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 2F070C761A6 for ; Wed, 29 Mar 2023 21:22:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230285AbjC2VWH (ORCPT ); Wed, 29 Mar 2023 17:22:07 -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: linux-serial@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 Acked-by: Johannes Berg --- 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