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: 76822 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp694975vqo; Wed, 29 Mar 2023 14:23:21 -0700 (PDT) X-Google-Smtp-Source: AKy350bG89MPUc/S2SORHN07lC1U4C8NAKmvZI0Mv/TemLhNr3ljD6tm7KlYXIYCVs/RenbX+BvI X-Received: by 2002:aa7:9a10:0:b0:624:3061:7dbf with SMTP id w16-20020aa79a10000000b0062430617dbfmr18654684pfj.25.1680125001008; Wed, 29 Mar 2023 14:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680125000; cv=none; d=google.com; s=arc-20160816; b=b7kAemFkUNtMAzepCR5+/scDvtDIb+q4ny2mtr37tIFsuCQDGqiZmp7u26GqjAslgn IeAmGfHJDtHtJHR74/xFkOujThx7fB8tqCzBiE4hjgiiM3fVdNfn/vfrQtGqpPI82A3u 7AD+Wk1kYZ+JWtUjFHi2ZYzHdkTTf5mUXyyINrrHqvJIsSRaEX0Fc5+4VDflWzrYvD4b o2XGvqCE2i5fFBNpZkM35Gl5s87pp0TJFB3pAusgYrjaeoWsibDP5xnkhAOLjEOZKKY2 xqi6cXqLPntS8C25hwUNxK446Rd7UqmjEv7wJBBsl0h93HOf9OE2vhU6oXBbxKmzSGlV /aOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=37Xl94wcW5o8GgPxt4yvsEyDEY9V4plxLsoIYPVLn9U=; b=RZn6xjFv97BymybEnPPF61717wmpu7oH8Mr46k1AnUV2Ec5/nvM/23/mhNNJrM4PP2 v3qpUKPsGogN4XRUw3ZPaOa/xcsmi65+fCm11HhyzyMAcKT0BLeKF2nTrnVtiF8AJKXy QSE/Yy+qlBJq7OZQUqcsqK2vUg8g1k4KL9oRl2fIx/D/vwkDI66JsyTcJiqZqcrRmad+ 2GNZT4GfhuOKsjw3fJKjWxOc9kpCXJkG1TVKyQOjwfLsDiZBg62szEmTOyDCVxQGNC1i g9Emh22BRKQe8HpK91XkS4NolyFL5x4Ar7Kmhf7SvBPnMz3pgEicxggwHf67P/+mRXWe PI+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t10-20020aa7946a000000b00624c3ad6c03si32076060pfq.227.2023.03.29.14.23.07; Wed, 29 Mar 2023 14:23:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230184AbjC2VV6 (ORCPT + 99 others); Wed, 29 Mar 2023 17:21:58 -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-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 X-Spam-Status: No, score=0.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761738753006425379?= X-GMAIL-MSGID: =?utf-8?q?1761738753006425379?= 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