diff options
-rw-r--r-- | scripts/kconfig/expr.c | 2 | ||||
-rw-r--r-- | scripts/kconfig/expr.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/expr.c b/scripts/kconfig/expr.c index 65531a7f28a8..001003452f68 100644 --- a/scripts/kconfig/expr.c +++ b/scripts/kconfig/expr.c | |||
@@ -64,7 +64,7 @@ struct expr *expr_alloc_or(struct expr *e1, struct expr *e2) | |||
64 | return e2 ? expr_alloc_two(E_OR, e1, e2) : e1; | 64 | return e2 ? expr_alloc_two(E_OR, e1, e2) : e1; |
65 | } | 65 | } |
66 | 66 | ||
67 | struct expr *expr_copy(struct expr *org) | 67 | struct expr *expr_copy(const struct expr *org) |
68 | { | 68 | { |
69 | struct expr *e; | 69 | struct expr *e; |
70 | 70 | ||
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index 184eb6a0b505..218991b26d92 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h | |||
@@ -191,7 +191,7 @@ struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e | |||
191 | struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); | 191 | struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); |
192 | struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); | 192 | struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); |
193 | struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); | 193 | struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); |
194 | struct expr *expr_copy(struct expr *org); | 194 | struct expr *expr_copy(const struct expr *org); |
195 | void expr_free(struct expr *e); | 195 | void expr_free(struct expr *e); |
196 | int expr_eq(struct expr *e1, struct expr *e2); | 196 | int expr_eq(struct expr *e1, struct expr *e2); |
197 | void expr_eliminate_eq(struct expr **ep1, struct expr **ep2); | 197 | void expr_eliminate_eq(struct expr **ep1, struct expr **ep2); |