diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-04-18 08:41:02 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-19 15:18:50 (GMT) |
commit | f89d482fe5a95db637190cd49e1954588995d881 (patch) | |
tree | 22a68364e29daca854fd8b593b7fd0046cc3fac3 /common/cmd_setexpr.c | |
parent | 972f2a8905a1ca3fc25401e60a9a1d7f6a7ab898 (diff) | |
download | u-boot-fsl-qoriq-f89d482fe5a95db637190cd49e1954588995d881.tar.xz |
fdt_support: add 'const' qualifier for unchanged argument
In the next commit, I will add a new function, fdt_pack_reg()
which uses get_cells_len().
Beforehand, this commit adds 'const' qualifier to get_cells_len().
Otherwise, a warning message will appear:
warning: passing argument 1 of 'get_cells_len' discards 'const'
qualifier from pointer target type [enabled by default]
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_setexpr.c')
0 files changed, 0 insertions, 0 deletions