[PATCH 4/4] kmod: move #ifdef CONFIG_MODULES wrapper to Makefile

2017-08-10 Thread Luis R. Rodriguez
The entire file is now conditionally compiled only when CONFIG_MODULES is enabled, and this this is a bool. Just move this conditional to the Makefile as its easier to read this way. Signed-off-by: Luis R. Rodriguez --- kernel/Makefile | 3 ++- kernel/kmod.c | 3 --- 2

[PATCH 4/4] kmod: move #ifdef CONFIG_MODULES wrapper to Makefile

2017-08-10 Thread Luis R. Rodriguez
The entire file is now conditionally compiled only when CONFIG_MODULES is enabled, and this this is a bool. Just move this conditional to the Makefile as its easier to read this way. Signed-off-by: Luis R. Rodriguez --- kernel/Makefile | 3 ++- kernel/kmod.c | 3 --- 2 files changed, 2