Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+2 -1
+2 -1
drivers/iio/adc/Kconfig
··· 441 441 442 442 config EP93XX_ADC 443 443 tristate "Cirrus Logic EP93XX ADC driver" 444 - depends on ARCH_EP93XX 444 + depends on ARCH_EP93XX || COMPILE_TEST 445 + depends on HAS_IOMEM 445 446 help 446 447 Driver for the ADC module on the EP93XX series of SoC from Cirrus Logic. 447 448 It's recommended to switch on CONFIG_HIGH_RES_TIMERS option, in this