[PATCH v2 0/3] nvmem: enable COMPILE_TEST for more drivers

From: Link Mauve

Date: Mon Oct 12 2026 - 17:12:26 EST


This series was spun off from a previous version of my series fixing a
case of missing const in an internal API. I found out about those
missing COMPILE_TEST while writing that series, but fixing that could
actually be handled as a different series so here it is.

A bot also reported some missing HAS_IOMEM dependencies, so I fixed them
in all drivers which do MMIO accesses. Maybe I missed some, I wasn’t
sure if the drivers using regmap should also depend on HAS_IOMEM or not,
but that could eventually go into a future series too.

I also fixed a random eight spaces of indentation I found in the same
file, but again this could go into its own series if needed.

[1] https://lore.kernel.org/lkml/20260920111000.2404131-1-linkmauve@xxxxxxxxxxxx/T/

Changes since “v1”:
- Link to “v1” (actually v6 of an unrelated series):
https://lore.kernel.org/lkml/20260920111000.2404131-5-linkmauve@xxxxxxxxxxxx/
- Add missing HAS_IOMEM from drivers which use readl() or writel()
family of functions, to access MMIO.
- Also fix indentation in the Kconfig.

Link Mauve (3):
nvmem: add missing HAS_IOMEM depends on some drivers
nvmem: enable COMPILE_TEST for more drivers
nvmem: Replace eight spaces with a tab in Kconfig

drivers/nvmem/Kconfig | 35 +++++++++++++++++++++--------------
1 file changed, 21 insertions(+), 14 deletions(-)


base-commit: 4eb2586bd40db27d77cc5b724ca9386ed0c71d53
--
2.56.0