Skip to content
Commit 1c51eb0b authored by Richard Weinberger's avatar Richard Weinberger Committed by Jonathan Cameron
Browse files

staging:iio: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: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 3b5c1635
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment