--- zzzz-none-000/linux-5.4.213/include/linux/regmap.h 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/include/linux/regmap.h 2024-05-29 11:20:02.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 */