* [PATCH] Fixing OF Selftest build error
@ 2014-07-26 2:57 Gaurav Minocha
[not found] ` <1406343458-24746-1-git-send-email-gaurav.minocha.os-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Gaurav Minocha @ 2014-07-26 2:57 UTC (permalink / raw)
To: devicetree-u79uwXL29TY76Z2rM5mHXA
Cc: grant.likely-QSEj5FYQhm4dnm+yROfE0A,
rob.herring-QSEj5FYQhm4dnm+yROfE0A, Gaurav Minocha
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, it selects OF_FLATTREE config symbol if OF_SELFTEST is
enabled.
Signed-off-by: Gaurav Minocha <gaurav.minocha.os-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
drivers/of/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 4e4f6f3..d559752 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -11,6 +11,7 @@ config OF_SELFTEST
tristate "Device Tree Runtime self tests"
depends on OF_IRQ
select OF_DYNAMIC
+ select OF_FLATTREE
help
This option builds in test cases for the device tree infrastructure
that are executed once at boot time, and the results dumped to the
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fixing OF Selftest build error
[not found] ` <1406343458-24746-1-git-send-email-gaurav.minocha.os-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2014-07-27 14:35 ` Grant Likely
0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2014-07-27 14:35 UTC (permalink / raw)
To: devicetree-u79uwXL29TY76Z2rM5mHXA
Cc: rob.herring-QSEj5FYQhm4dnm+yROfE0A, Gaurav Minocha
On Fri, 25 Jul 2014 19:57:38 -0700, Gaurav Minocha <gaurav.minocha.os-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 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, it selects OF_FLATTREE config symbol if OF_SELFTEST is
> enabled.
>
> Signed-off-by: Gaurav Minocha <gaurav.minocha.os-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Applied, thanks.
g.
> ---
> drivers/of/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
> index 4e4f6f3..d559752 100644
> --- a/drivers/of/Kconfig
> +++ b/drivers/of/Kconfig
> @@ -11,6 +11,7 @@ config OF_SELFTEST
> tristate "Device Tree Runtime self tests"
> depends on OF_IRQ
> select OF_DYNAMIC
> + select OF_FLATTREE
> help
> This option builds in test cases for the device tree infrastructure
> that are executed once at boot time, and the results dumped to the
> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-27 14:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-26 2:57 [PATCH] Fixing OF Selftest build error Gaurav Minocha
[not found] ` <1406343458-24746-1-git-send-email-gaurav.minocha.os-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-07-27 14:35 ` Grant Likely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).