--- zzzz-none-000/linux-5.4.213/include/linux/regmap.h 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/include/linux/regmap.h 2024-08-14 09:02:08.000000000 +0000 @@ -185,7 +185,7 @@ pollret ?: ((cond) ? 0 : -ETIMEDOUT); \ }) -#ifdef CONFIG_REGMAP +#if IS_REACHABLE(CONFIG_REGMAP) enum regmap_endian { /* Unspecified -> 0 -> Backwards compatible default */