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 214F2CCA47A for ; Sat, 11 Jun 2022 13:52:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231653AbiFKNwH (ORCPT ); Sat, 11 Jun 2022 09:52:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231378AbiFKNwG (ORCPT ); Sat, 11 Jun 2022 09:52:06 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFF24DF13; Sat, 11 Jun 2022 06:52:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0B95BB816AD; Sat, 11 Jun 2022 13:52:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECF57C34116; Sat, 11 Jun 2022 13:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654955519; bh=mG9PRa/hoJU++oy2/1rOsVQjjCa+upUYtaTD+8dvzg4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=s0iPw9d6lhJbgaK9lLIA2OIuxQ4bl+kSAbcG0kXZDcOSUpfApg/txQldMZuYY/Q1V CsqTR8iiLvTD1/+sjmf4qUb46LDL/dW+Apejlsbhs2rVCnllqOFk1AvCdRYhx+u2xz 584swGpqE/bG+WSc/NoyUne2IfjfyqSDh2j1QqcdQDdTotd3NVUuXfNlO6OOYeAh7d Fiq78NgFxij99miG9rX+kTdenvERnOyR8G0oc2FtjoXu7ytR4Ylkzmp26mhWXKn8BF Y+qZYkwNlBEpGjY7XZf+qjIeuzennmJD9NgaQh4lQRgUN3w9EsLFHRM1/QJRAN216q 7N9TFuuJ+en6A== Date: Sat, 11 Jun 2022 15:00:58 +0100 From: Jonathan Cameron To: Nuno =?UTF-8?B?U8Oh?= Cc: , , , , , Lad Prabhakar , , , , , , Cai Huoqing , Benjamin Fair , Jishnu Prakash , Linus Walleij , Lars-Peter Clausen , Alexandre Torgue , Amit Kucheria , Andy Gross , Michael Hennerich , Haibo Chen , Benson Leung , "Rafael J. Wysocki" , Alexandre Belloni , Christophe Branchereau , Patrick Venture , Arnd Bergmann , Nancy Yuen , Sascha Hauer , Daniel Lezcano , Gwendal Grignou , Saravanan Sekar , Tali Perry , Maxime Coquelin , Paul Cercueil , Thara Gopinath , Avi Fishman , Lorenzo Bianconi , Claudiu Beznea , Pengutronix Kernel Team , Andy Shevchenko , Fabrice Gasnier , Matthias Brugger , Tomer Maimon , Bjorn Andersson , Nicolas Ferre , Zhang Rui , Shawn Guo , Guenter Roeck , Fabio Estevam , Olivier Moysan , Eugen Hristev , Miquel Raynal Subject: Re: [PATCH 02/34] iio: adc: ad7606_par: explicitly add proper header files Message-ID: <20220611150058.11cfc344@jic23-huawei> In-Reply-To: <20220610084545.547700-3-nuno.sa@analog.com> References: <20220610084545.547700-1-nuno.sa@analog.com> <20220610084545.547700-3-nuno.sa@analog.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Fri, 10 Jun 2022 10:45:13 +0200 Nuno S=C3=A1 wrote: > Do not trust the fact that iio.h includes of.h which in turn includes > all the headers we are relying on. >=20 > The ultimate goal is to actually drop of.h from iio.h. >=20 > Signed-off-by: Nuno S=C3=A1 Applied > --- > drivers/iio/adc/ad7606_par.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/iio/adc/ad7606_par.c b/drivers/iio/adc/ad7606_par.c > index 8888e56b5e90..b912b4df9b56 100644 > --- a/drivers/iio/adc/ad7606_par.c > +++ b/drivers/iio/adc/ad7606_par.c > @@ -5,6 +5,7 @@ > * Copyright 2011 Analog Devices Inc. > */ > =20 > +#include > #include > #include > #include