diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2022-10-31 22:54:33 -0700 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-12-07 13:28:10 +0000 |
commit | b5a8668dab74ee37886aec5a1748f681a2d6cc6c (patch) | |
tree | bb2632ef2274d406b54ca0c52dfcd10a611f399b /drivers/mfd | |
parent | 411ffc82f93cf69f70712467ac85fdf2dc3be04a (diff) | |
download | linux-stable-b5a8668dab74ee37886aec5a1748f681a2d6cc6c.tar.gz linux-stable-b5a8668dab74ee37886aec5a1748f681a2d6cc6c.tar.bz2 linux-stable-b5a8668dab74ee37886aec5a1748f681a2d6cc6c.zip |
mfd: intel_soc_pmic: Allow COMPILE_TEST or I2C_DESIGNWARE_PLATFORM
Linus expressed a desire to have intel_soc_pmic_crc.o (INTEL_SOC_PMIC,
for Crystal Cove) be built on an "allmodconfig" build, when
I2C_DESIGNWARE_PLATFORM=m, to enhance build test coverage.
The PMIC driver won't work in this case since it requires
I2C_DESIGNWARE_PLATFORM=y to operate properly, but adding
"|| COMPILE_TEST" does improve the build test coverage.
Link: https://lore.kernel.org/all/CAHk-=wg=hh8xkPjiySnjAyR66AG64eyZ1Y9gHw+MCs8uuSZReA@mail.gmail.com/
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221101055433.16891-1-rdunlap@infradead.org
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 6e920442366c..6653d03e0fe3 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -594,7 +594,7 @@ config INTEL_SOC_PMIC bool "Support for Crystal Cove PMIC" depends on HAS_IOMEM && I2C=y && GPIOLIB && COMMON_CLK depends on (X86 && ACPI) || COMPILE_TEST - depends on I2C_DESIGNWARE_PLATFORM=y + depends on I2C_DESIGNWARE_PLATFORM=y || COMPILE_TEST select MFD_CORE select REGMAP_I2C select REGMAP_IRQ |