From mboxrd@z Thu Jan 1 00:00:00 1970 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 DD58AC77B61 for ; Thu, 30 Mar 2023 08:38:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229629AbjC3IiK (ORCPT ); Thu, 30 Mar 2023 04:38:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbjC3IiJ (ORCPT ); Thu, 30 Mar 2023 04:38:09 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF5A44EFE; Thu, 30 Mar 2023 01:38:08 -0700 (PDT) Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4PnGtQ0zQ0z6J9tP; Thu, 30 Mar 2023 16:34:22 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 30 Mar 2023 09:38:06 +0100 Date: Thu, 30 Mar 2023 09:38:05 +0100 From: Jonathan Cameron To: Marcelo Schmitt CC: Rob Herring , "Rafael J. Wysocki" , Len Brown , 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 , , , , , , , , , Subject: Re: [PATCH 1/5] iio: adc: ad7292: Add explicit include for of.h Message-ID: <20230330093805.00003bb4@Huawei.com> In-Reply-To: References: <20230329-acpi-header-cleanup-v1-0-8dc5cd3c610e@kernel.org> <20230329-acpi-header-cleanup-v1-1-8dc5cd3c610e@kernel.org> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml500001.china.huawei.com (7.191.163.213) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, 29 Mar 2023 22:10:55 -0300 Marcelo Schmitt wrote: > On 03/29, Rob Herring wrote: > > 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 Acked-by: Jonathan Cameron > > Thanks, > Marcelo > > > --- > > 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 > > > > > > -- > > 2.39.2 > >