iio: adc: ep93xx: Enable wider build testing with COMPILE_TEST
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 31 Dec 2022 14:41:28 +0000 (14:41 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 8 Jan 2023 12:04:01 +0000 (12:04 +0000)
commitb7b81d1c65bffb759c68d04b5e5450cf4e301f62
treef4fa9e891678c17c21a581e40cfc7ef0abac3aa6
parent80cbddf59009933274989cb39d52eb8f0a43839f
iio: adc: ep93xx: Enable wider build testing with COMPILE_TEST

It is useful to be able to build this driver without needing
to build support for ARCH_EP93XX.

Also add an explicit dependency on HAS_IOMEM so we have
devm_platform_ioremap_resource() etc available.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Link: https://lore.kernel.org/r/20221231144128.489810-1-jic23@kernel.org
drivers/iio/adc/Kconfig