linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/staging/iio/adc/Kconfig: Let MXS_LRADC depend on HAS_IOMEM
@ 2014-07-13 11:44 Chen Gang
  2014-07-13 13:27 ` Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: Chen Gang @ 2014-07-13 11:44 UTC (permalink / raw)
  To: jic23
  Cc: Richard Weinberger, Liqin Chen, Lennox Wu, Greg Kroah-Hartman,
	lars, knaack.h, Marek Vasut, rdunlap, linux-iio, devel,
	linux-kernel@vger.kernel.org

MXS_LRADC need HAS_IOMEM, so let it depend on HAS_IOMEM

The related error (with allmodconfig under score):

    MODPOST 1365 modules
  ERROR: "devm_ioremap_resource" [drivers/staging/iio/adc/mxs-lradc.ko] undefined!


Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
 drivers/staging/iio/adc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
index b87e382..4e927d2 100644
--- a/drivers/staging/iio/adc/Kconfig
+++ b/drivers/staging/iio/adc/Kconfig
@@ -94,7 +94,7 @@ config LPC32XX_ADC
 
 config MXS_LRADC
 	tristate "Freescale i.MX23/i.MX28 LRADC"
-	depends on ARCH_MXS || COMPILE_TEST
+	depends on (ARCH_MXS || COMPILE_TEST) && HAS_IOMEM
 	depends on INPUT
 	select STMP_DEVICE
 	select IIO_BUFFER
-- 
1.7.11.7

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

* Re: [PATCH] drivers/staging/iio/adc/Kconfig: Let MXS_LRADC depend on HAS_IOMEM
  2014-07-13 11:44 [PATCH] drivers/staging/iio/adc/Kconfig: Let MXS_LRADC depend on HAS_IOMEM Chen Gang
@ 2014-07-13 13:27 ` Marek Vasut
  2014-07-13 18:45   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2014-07-13 13:27 UTC (permalink / raw)
  To: Chen Gang
  Cc: jic23, Richard Weinberger, Liqin Chen, Lennox Wu,
	Greg Kroah-Hartman, lars, knaack.h, rdunlap, linux-iio, devel,
	linux-kernel@vger.kernel.org

On Sunday, July 13, 2014 at 01:44:38 PM, Chen Gang wrote:
> MXS_LRADC need HAS_IOMEM, so let it depend on HAS_IOMEM
> 
> The related error (with allmodconfig under score):
> 
>     MODPOST 1365 modules
>   ERROR: "devm_ioremap_resource" [drivers/staging/iio/adc/mxs-lradc.ko]
> undefined!
> 
> 
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>

Acked-by: Marek Vasut <marex@denx.de>

Best regards,
Marek Vasut

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

* Re: [PATCH] drivers/staging/iio/adc/Kconfig: Let MXS_LRADC depend on HAS_IOMEM
  2014-07-13 13:27 ` Marek Vasut
@ 2014-07-13 18:45   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2014-07-13 18:45 UTC (permalink / raw)
  To: Marek Vasut, Chen Gang
  Cc: Richard Weinberger, Liqin Chen, Lennox Wu, Greg Kroah-Hartman,
	lars, knaack.h, rdunlap, linux-iio, devel,
	linux-kernel@vger.kernel.org

On 13/07/14 14:27, Marek Vasut wrote:
> On Sunday, July 13, 2014 at 01:44:38 PM, Chen Gang wrote:
>> MXS_LRADC need HAS_IOMEM, so let it depend on HAS_IOMEM
>>
>> The related error (with allmodconfig under score):
>>
>>      MODPOST 1365 modules
>>    ERROR: "devm_ioremap_resource" [drivers/staging/iio/adc/mxs-lradc.ko]
>> undefined!
>>
>>
>> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
>
> Acked-by: Marek Vasut <marex@denx.de>
Applied to the togreg branch of iio.git.

Thanks,
>
> Best regards,
> Marek Vasut
>


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

end of thread, other threads:[~2014-07-13 18:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-13 11:44 [PATCH] drivers/staging/iio/adc/Kconfig: Let MXS_LRADC depend on HAS_IOMEM Chen Gang
2014-07-13 13:27 ` Marek Vasut
2014-07-13 18:45   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).