Re: [PATCH] watchdog: atcwdt200: select REGMAP_MMIO

From: Guenter Roeck

Date: Mon Nov 30 2026 - 10:16:29 EST


On Mon, Nov 30, 2026 at 09:02:43PM +0800, Pengpeng Hou wrote:
> atcwdt200_wdt.c initializes an MMIO regmap using
> devm_regmap_init_mmio(), but ATCWDT200_WATCHDOG does not select
> REGMAP_MMIO. The driver can therefore be enabled without the
> required register-transport implementation and fail to build.
>
> Select REGMAP_MMIO so the backend is enabled at the linkage level
> required by this consumer, rather than relying on another driver to
> pull it in.
>
> The issue was found by our static-analysis tool and manually reviewed.
>
> Fixes: e4e0848ad046 ("watchdog: atcwdt200: Add driver for Andes ATCWDT200")
> Signed-off-by: Pengpeng Hou <hppiscas@xxxxxxx>

Applied.

Thanks,
Guenter