[PATCH] of/Kconfig: Add "config OF"

Stephen Rothwell sfr at canb.auug.org.au
Tue Jun 29 04:11:12 EST 2010


Hi Stephen,

On Mon, 28 Jun 2010 10:47:55 -0700 Stephen Neuendorffer <stephen.neuendorffer at xilinx.com> wrote:
>
> Conceivably, device tree parsing could work on any architecture, but
> unless this is defined somewhere in Kconfig that is not architecture specific, it won't work.
> 
> The architecture specific versions of this should get abstracted.
> ---
>  drivers/of/Kconfig |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
> index e8286d4..26957a2 100644
> --- a/drivers/of/Kconfig
> +++ b/drivers/of/Kconfig
> @@ -1,3 +1,7 @@
> +config OF
> +	bool
> +	default n

You don't need the "default n", it is implicit.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20100629/bc612a60/attachment.pgp>


More information about the devicetree-discuss mailing list