From: Hauke Mehrtens Date: Sun, 19 Jan 2014 14:04:02 +0000 (+0100) Subject: backports: add IS_BUILTIN() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=61b3e99ad2438e5501da6a27c2e4cb8c04d7a10c;p=openwrt%2Fstaging%2Fblogic.git backports: add IS_BUILTIN() This is needed by bcma. Signed-off-by: Hauke Mehrtens --- diff --git a/backport/backport-include/linux/kconfig.h b/backport/backport-include/linux/kconfig.h index d5c483d5d996..ee938e30e4c5 100644 --- a/backport/backport-include/linux/kconfig.h +++ b/backport/backport-include/linux/kconfig.h @@ -21,4 +21,7 @@ (config_enabled(option) || config_enabled(option##_MODULE)) #endif +#undef IS_BUILTIN +#define IS_BUILTIN(option) config_enabled(option) + #endif