From patchwork Wed Apr 5 20:27:17 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: 670550 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 9FEF6C76188 for ; Wed, 5 Apr 2023 20:28:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234242AbjDEU2M (ORCPT ); Wed, 5 Apr 2023 16:28:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234305AbjDEU1i (ORCPT ); Wed, 5 Apr 2023 16:27:38 -0400 Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B113A7A9F; Wed, 5 Apr 2023 13:27:31 -0700 (PDT) Received: by mail-ot1-f43.google.com with SMTP id x8-20020a9d3788000000b0069f922cd5ceso19685632otb.12; Wed, 05 Apr 2023 13:27:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680726451; 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=JEWSD1fDMkPcJVVJWl/niMBCZ1+LVTX0zVxuNNm1m3A=; b=tgYmdyf87EhXuCw4Afkrg7PNPyMg7GFktqIz9RZg1IW3rOH669LTmUSIn5RZpIzRA+ I0r6bF0er6vzx8fcElarE6rcbaXNxx/WMFUcXgvYVR7lTCyUmXqLfIeaNE6mNBo3NTco qFkllL8XZjKOyf1xy0Zf/XtxXxvwtQUDPHHLoIODWZwzMmSXhakfi6GWSP4vU7BA1J+g /ueQp0R5i/SspKNMCgund8pubr5lD+0rz6L9zNIl3+fGOedircuxFJ0FKUD5XyeTRCLD zRZDG11/rl5Xiq3iUH8dLPl1S/TGodneMYEH7ie3y8ge/n8Nh6YQ/qEupw5ZRxY4NPEg 6+Ag== X-Gm-Message-State: AAQBX9e/rOe3/XGRW9kKPygOyeSGcR7ZDUrgmf9Esu5J3Gbjq3dKo+4J OLf+nTXXvaw/SbubFDLnNA== X-Google-Smtp-Source: AKy350ZaKRbNw5BVz8JUbstjxm9/rqgC8dw7YeQcDPRMSjLceOYL23HZjUhfc7B3LKhXZbj89AVs5g== X-Received: by 2002:a9d:1b4d:0:b0:6a1:6a4b:bbb3 with SMTP id l71-20020a9d1b4d000000b006a16a4bbbb3mr1662878otl.14.1680726450887; Wed, 05 Apr 2023 13:27:30 -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 x9-20020a05683000c900b006a30260ccfdsm5958075oto.11.2023.04.05.13.27.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 13:27:30 -0700 (PDT) Received: (nullmailer pid 425884 invoked by uid 1000); Wed, 05 Apr 2023 20:27:17 -0000 From: Rob Herring Date: Wed, 05 Apr 2023 15:27:17 -0500 Subject: [PATCH v2 03/10] net: rfkill-gpio: Add explicit include for of.h MIME-Version: 1.0 Message-Id: <20230329-acpi-header-cleanup-v2-3-c902e581923b@kernel.org> References: <20230329-acpi-header-cleanup-v2-0-c902e581923b@kernel.org> In-Reply-To: <20230329-acpi-header-cleanup-v2-0-c902e581923b@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, Stephen Rothwell , Jacob Keller 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] Acked-by: Johannes Berg Reviewed-by: Jacob Keller Reviewed-by: Greg Kroah-Hartman 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