From: Luis R. Rodriguez Date: Tue, 20 Mar 2012 01:25:34 +0000 (-0700) Subject: compat: fix load time issue with kfifo backport X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=22f03e353206c8f848de9d47cb1f6079fdfe9ed3;p=openwrt%2Fstaging%2Fblogic.git compat: fix load time issue with kfifo backport The CONFIG_COMPAT_KFIFO config option must be defined to CONFIG_COMPAT_KFIFO=y instead of CONFIG_COMPAT_KFIFO=m as the kfifo object is not a module, its simply part of the compat module. This should fix users of the kfifo backport on kernels older than 2.6.36. Signed-off-by: Luis R. Rodriguez --- diff --git a/scripts/gen-compat-config.sh b/scripts/gen-compat-config.sh index 423d59528860..5d6e34ccfb06 100755 --- a/scripts/gen-compat-config.sh +++ b/scripts/gen-compat-config.sh @@ -59,5 +59,5 @@ if [[ ${CONFIG_COMPAT_KERNEL_2_6_33} = "y" ]]; then fi if [[ ${CONFIG_COMPAT_KERNEL_2_6_36} = "y" ]]; then - echo "CONFIG_COMPAT_KFIFO=m" + echo "CONFIG_COMPAT_KFIFO=y" fi