aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/expr.h
diff options
context:
space:
mode:
authorArnaud Lacombe <[email protected]>2010-11-06 21:30:23 +0000
committerMauro Carvalho Chehab <[email protected]>2010-11-22 13:27:17 +0000
commit86e187ff9bce9fbed7bfed92ae34f491cf1af50f (patch)
treed857b2671a98e2eb1ddc80477b564e4d279ae464 /scripts/kconfig/expr.h
parentLinux 2.6.37-rc2 (diff)
downloadkernel-86e187ff9bce9fbed7bfed92ae34f491cf1af50f.tar.gz
kernel-86e187ff9bce9fbed7bfed92ae34f491cf1af50f.zip
kconfig: add an option to determine a menu's visibility
This option is aimed to add the possibility to control a menu's visibility without adding dependency to the expression to all the submenu. Signed-off-by: Arnaud Lacombe <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Tested-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/kconfig/expr.h')
-rw-r--r--scripts/kconfig/expr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index 184eb6a0b505..e57826ced380 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -164,6 +164,7 @@ struct menu {
struct menu *list;
struct symbol *sym;
struct property *prompt;
+ struct expr *visibility;
struct expr *dep;
unsigned int flags;
char *help;