[PATCH 1/2 v2] of: move phandle/ihandle into types.h and export to userspace
David Miller
davem at davemloft.net
Sat Oct 9 04:45:57 EST 2010
From: Grant Likely <grant.likely at secretlab.ca>
Date: Fri, 8 Oct 2010 11:36:50 -0600
> Weird. Yeah, no other platforms expect to get a phandle type
> definition from the kernel headers. The only thing driving this
> conversation is from arch/sparc/include/asm/Kbuild:
>
> header-y += openprom.h
It was probably at one point for the sake of asm/openpromio.h but
that header has no dependencies on openprom.h
The only hit I can find in google code search, for non-kernel code, is
the SILO bootloader.
But that tree includes it's own copy of include/asm/openprom.h so
the actual kernel copy isn't even used.
I'd say we can stop exporting that header and also therefore not
worry about making phandle_t visible to userspace.
More information about the devicetree-discuss
mailing list