Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v1 1/1] iio: adc: intel_mrfld_adc: explicitly add proper header files
@ 2022-06-15 12:08 Andy Shevchenko
  2022-06-15 12:15 ` Sa, Nuno
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2022-06-15 12:08 UTC (permalink / raw)
  To: Andy Shevchenko, Alexandru Ardelean, linux-iio, linux-kernel
  Cc: Jonathan Cameron, Lars-Peter Clausen

Do not trust the fact that iio.h includes of.h which in turn includes
all the headers we are relying on.

The ultimate goal is to actually drop of.h from iio.h.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---

Jonathan, this should be squeezed before we remove of.h in iio.h
I think Nuno somehow missed this

 drivers/iio/adc/intel_mrfld_adc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/adc/intel_mrfld_adc.c b/drivers/iio/adc/intel_mrfld_adc.c
index 616de0c3a049..7263ad76124d 100644
--- a/drivers/iio/adc/intel_mrfld_adc.c
+++ b/drivers/iio/adc/intel_mrfld_adc.c
@@ -15,6 +15,7 @@
 #include <linux/interrupt.h>
 #include <linux/mfd/intel_soc_pmic.h>
 #include <linux/mfd/intel_soc_pmic_mrfld.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/platform_device.h>
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [PATCH v1 1/1] iio: adc: intel_mrfld_adc: explicitly add proper header files
  2022-06-15 12:08 [PATCH v1 1/1] iio: adc: intel_mrfld_adc: explicitly add proper header files Andy Shevchenko
@ 2022-06-15 12:15 ` Sa, Nuno
  2022-06-15 21:09   ` Jonathan Cameron
  0 siblings, 1 reply; 4+ messages in thread
From: Sa, Nuno @ 2022-06-15 12:15 UTC (permalink / raw)
  To: Andy Shevchenko, Alexandru Ardelean, linux-iio@vger.kernel.org,
	linux-kernel@vger.kernel.org
  Cc: Jonathan Cameron, Lars-Peter Clausen

Hi Andy,

> -----Original Message-----
> From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Sent: Wednesday, June 15, 2022 2:08 PM
> To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>;
> Alexandru Ardelean <aardelean@deviqon.com>; linux-
> iio@vger.kernel.org; linux-kernel@vger.kernel.org
> Cc: Jonathan Cameron <jic23@kernel.org>; Lars-Peter Clausen
> <lars@metafoo.de>
> Subject: [PATCH v1 1/1] iio: adc: intel_mrfld_adc: explicitly add proper
> header files
> 
> [External]
> 
> Do not trust the fact that iio.h includes of.h which in turn includes
> all the headers we are relying on.
> 
> The ultimate goal is to actually drop of.h from iio.h.
> 
> Signed-off-by: Andy Shevchenko
> <andriy.shevchenko@linux.intel.com>
> ---
> 
> Jonathan, this should be squeezed before we remove of.h in iio.h
> I think Nuno somehow missed this

Yes, I did (compile) tested this on arm and arm64 as I said in the cover.
I guess this one won't be enabled on those archs :).

I was planning to send this on v2 (I did noticed the kernel test bot
emails) but yeah, this should actually be included with the other
patches before removing of.h from iio. Thanks!

Reviewed-by: Nuno Sá <nuno.sa@analog.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 1/1] iio: adc: intel_mrfld_adc: explicitly add proper header files
  2022-06-15 12:15 ` Sa, Nuno
@ 2022-06-15 21:09   ` Jonathan Cameron
  2022-06-15 21:13     ` Jonathan Cameron
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Cameron @ 2022-06-15 21:09 UTC (permalink / raw)
  To: Sa, Nuno
  Cc: Andy Shevchenko, Alexandru Ardelean, linux-iio@vger.kernel.org,
	linux-kernel@vger.kernel.org, Lars-Peter Clausen

On Wed, 15 Jun 2022 12:15:48 +0000
"Sa, Nuno" <Nuno.Sa@analog.com> wrote:

> Hi Andy,
> 
> > -----Original Message-----
> > From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > Sent: Wednesday, June 15, 2022 2:08 PM
> > To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>;
> > Alexandru Ardelean <aardelean@deviqon.com>; linux-
> > iio@vger.kernel.org; linux-kernel@vger.kernel.org
> > Cc: Jonathan Cameron <jic23@kernel.org>; Lars-Peter Clausen
> > <lars@metafoo.de>
> > Subject: [PATCH v1 1/1] iio: adc: intel_mrfld_adc: explicitly add proper
> > header files
> > 
> > [External]
> > 
> > Do not trust the fact that iio.h includes of.h which in turn includes
> > all the headers we are relying on.
> > 
> > The ultimate goal is to actually drop of.h from iio.h.
> > 
> > Signed-off-by: Andy Shevchenko
> > <andriy.shevchenko@linux.intel.com>
> > ---
> > 
> > Jonathan, this should be squeezed before we remove of.h in iio.h
> > I think Nuno somehow missed this  
> 
> Yes, I did (compile) tested this on arm and arm64 as I said in the cover.
> I guess this one won't be enabled on those archs :).
> 
> I was planning to send this on v2 (I did noticed the kernel test bot
> emails) but yeah, this should actually be included with the other
> patches before removing of.h from iio. Thanks!
> 
> Reviewed-by: Nuno Sá <nuno.sa@analog.com>

Applied.  Oddly didn't show up in my normal x86 build test.

As suggested, slotted in before the of.h removal patch.

Thanks,

Jonathan

> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 1/1] iio: adc: intel_mrfld_adc: explicitly add proper header files
  2022-06-15 21:09   ` Jonathan Cameron
@ 2022-06-15 21:13     ` Jonathan Cameron
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Cameron @ 2022-06-15 21:13 UTC (permalink / raw)
  To: Sa, Nuno
  Cc: Andy Shevchenko, Alexandru Ardelean, linux-iio@vger.kernel.org,
	linux-kernel@vger.kernel.org, Lars-Peter Clausen

On Wed, 15 Jun 2022 22:09:30 +0100
Jonathan Cameron <jic23@kernel.org> wrote:

> On Wed, 15 Jun 2022 12:15:48 +0000
> "Sa, Nuno" <Nuno.Sa@analog.com> wrote:
> 
> > Hi Andy,
> >   
> > > -----Original Message-----
> > > From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > > Sent: Wednesday, June 15, 2022 2:08 PM
> > > To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>;
> > > Alexandru Ardelean <aardelean@deviqon.com>; linux-
> > > iio@vger.kernel.org; linux-kernel@vger.kernel.org
> > > Cc: Jonathan Cameron <jic23@kernel.org>; Lars-Peter Clausen
> > > <lars@metafoo.de>
> > > Subject: [PATCH v1 1/1] iio: adc: intel_mrfld_adc: explicitly add proper
> > > header files
> > > 
> > > [External]
> > > 
> > > Do not trust the fact that iio.h includes of.h which in turn includes
> > > all the headers we are relying on.
> > > 
> > > The ultimate goal is to actually drop of.h from iio.h.
> > > 
> > > Signed-off-by: Andy Shevchenko
> > > <andriy.shevchenko@linux.intel.com>
> > > ---
> > > 
> > > Jonathan, this should be squeezed before we remove of.h in iio.h
> > > I think Nuno somehow missed this    
> > 
> > Yes, I did (compile) tested this on arm and arm64 as I said in the cover.
> > I guess this one won't be enabled on those archs :).
> > 
> > I was planning to send this on v2 (I did noticed the kernel test bot
> > emails) but yeah, this should actually be included with the other
> > patches before removing of.h from iio. Thanks!
> > 
> > Reviewed-by: Nuno Sá <nuno.sa@analog.com>  
> 
> Applied.  Oddly didn't show up in my normal x86 build test.
Figured out the chain of necessary dependencies so I'll catch anything
effecting this in my smoke test build going forwards.

Thanks,

Jonathan

> 
> As suggested, slotted in before the of.h removal patch.
> 
> Thanks,
> 
> Jonathan
> 
> >   
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-15 21:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-15 12:08 [PATCH v1 1/1] iio: adc: intel_mrfld_adc: explicitly add proper header files Andy Shevchenko
2022-06-15 12:15 ` Sa, Nuno
2022-06-15 21:09   ` Jonathan Cameron
2022-06-15 21:13     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox