]> git.openfabrics.org - ~emulex/infiniband.git/commit
of: Fixing OF Selftest build error
authorGaurav Minocha <gaurav.minocha.os@gmail.com>
Sat, 26 Jul 2014 02:57:38 +0000 (19:57 -0700)
committerGrant Likely <grant.likely@linaro.org>
Sun, 3 Aug 2014 18:21:28 +0000 (12:21 -0600)
commit32147e9a8ea54f2ec9914edeede8a9d9dc02e886
tree8603b6e6ef3c5289de8576ee762ef8a3e41a241a
parent9dcfee01930e6cc1e84d28c232664f0c19a1f86c
of: Fixing OF Selftest build error

This patch is to fix following error while compiling OF selftests.
"drivers/of/selftest.c:617:2: error: implicit declaration of function
'of_fdt_unflatten_tree'"

Now, CONFIG_OF_SELFTEST depends on CONFIG_OF_EARLY_FLATTREE so that the
broken configuration cannot be selected. Ultimately it would be a good
idea to allow CONFIG_OF_SELFTEST to select CONFIG_OF_EARLY_FLATTREE, but
there is a dependency problem on i386 and x86_64 that causes dtc to not
get built and causes the build to fail. That problem needs to be fixed
first.

Signed-off-by: Gaurav Minocha <gaurav.minocha.os@gmail.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/Kconfig