From: Masahiro Yamada Date: Sat, 13 Mar 2021 19:48:31 +0000 (+0900) Subject: kconfig: move JUMP_NB to mconf.c X-Git-Tag: v5.15~1234^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=406616213bb776a6e6ec69192df39ab1042690f1;p=platform%2Fkernel%2Flinux-starfive.git kconfig: move JUMP_NB to mconf.c This macro is only used in mconf.c. Signed-off-by: Masahiro Yamada --- diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index 5c34436..bbca80a0 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h @@ -281,8 +281,6 @@ struct jump_key { int index; }; -#define JUMP_NB 9 - extern struct file *file_list; extern struct file *current_file; struct file *lookup_file(const char *name); diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c index 4063dbc..01b6c27 100644 --- a/scripts/kconfig/mconf.c +++ b/scripts/kconfig/mconf.c @@ -22,6 +22,8 @@ #include "lkc.h" #include "lxdialog/dialog.h" +#define JUMP_NB 9 + static const char mconf_readme[] = "Overview\n" "--------\n"