staging,spear_adc: Add dependency on HAS_IOMEM
authorRichard Weinberger <richard@nod.at>
Tue, 14 Jan 2014 15:45:41 +0000 (16:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 22:51:22 +0000 (14:51 -0800)
commite4592fdd070ca77c74491ee6b61e31ac427ebf8c
treec8008e92b36c92f341380eefbf24a0c4025bdb6b
parent29c56c701d6a437490c10d02210b7d1795d314d3
staging,spear_adc: Add dependency on HAS_IOMEM

On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM to bypass build failures.

drivers/staging/iio/adc/spear_adc.c: In function ‘spear_adc_probe’:
drivers/staging/iio/adc/spear_adc.c:393:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/staging/iio/adc/Kconfig