backports: add IS_BUILTIN()
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 19 Jan 2014 14:04:02 +0000 (15:04 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 19 Jan 2014 16:47:13 +0000 (17:47 +0100)
This is needed by bcma.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/kconfig.h

index d5c483d5d996910287ca29b308f2f57c2005179e..ee938e30e4c5bfd8cbe220abd9ba6ab1d514429b 100644 (file)
@@ -21,4 +21,7 @@
         (config_enabled(option) || config_enabled(option##_MODULE))
 #endif
 
+#undef IS_BUILTIN
+#define IS_BUILTIN(option) config_enabled(option)
+
 #endif