Re: [PATCH] Fixing OF Selftest build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, 25 Jul 2014 19:57:38 -0700, Gaurav Minocha <gaurav.minocha.os@xxxxxxxxx> 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@xxxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux