kconfig: Make expr_copy() take a const argument
authorMichal Marek <mmarek@suse.cz>
Mon, 20 Dec 2010 15:06:44 +0000 (16:06 +0100)
committerMichal Marek <mmarek@suse.cz>
Tue, 21 Dec 2010 16:59:16 +0000 (17:59 +0100)
Fixes
scripts/kconfig/expr.c: In function ‘expr_get_leftmost_symbol’:
scripts/kconfig/expr.c:1026:2: warning: passing argument 1 of ‘expr_copy’ discards qualifiers from pointer target type
scripts/kconfig/expr.c:67:14: note: expected ‘struct expr *’ but argument is of type ‘const struct expr *’

Signed-off-by: Michal Marek <mmarek@suse.cz>

No differences found