of: Fix build warnings
authorJohn Stultz <john.stultz@linaro.org>
Thu, 19 Nov 2015 21:45:41 +0000 (13:45 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:54:09 +0000 (13:54 -0800)
commit558c05dbb5aa0ed678462f78b0e1d0e966d2281f
tree803e5ad86c21e4256b60c5ac372f1d37976d596a
parent409b642dddb87e84d37c0463a5fa06adcf230aa4
of: Fix build warnings

In commit d6cb004d80 (of: fix CONFIG_CMDLINE_EXTEND),
the types of some variables in early_init_dt_scan_chosen()
were modified, which results in build warnings.

This patch resets the unsigned long to an int, and re-adds
the const to the char*.

Change-Id: Ie60ae92b4552e453cf477dd83f42838b3f95975e
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/of/fdt.c