kernel: modules: fix kmod-regmap redux
[openwrt/openwrt.git] / target / linux / generic / hack-4.14 / 259-regmap_dynamic.patch
index 1c6e78df3099fda1bdb98e2d6980be3bb206fa5d..458b7c35a1749a2cfb98e33e9285fa572eb354e9 100644 (file)
@@ -103,7 +103,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  })
  
 -#ifdef CONFIG_REGMAP
-+#if IS_ENABLED(CONFIG_REGMAP)
++#if IS_REACHABLE(CONFIG_REGMAP)
  
  enum regmap_endian {
        /* Unspecified -> 0 -> Backwards compatible default */