diff options
author | Andres Salomon <dilinger@queued.net> | 2010-10-11 07:49:45 +0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-10-13 07:57:53 +0400 |
commit | f90c34bd658d240cb5ebc5fe0a17796e590c6ec8 (patch) | |
tree | 02e8243910e156d3af4a14bd9be63dd829d07576 /include/linux/ioc3.h | |
parent | 3cfc535c5df8122af1258ae05aaf2770c033425d (diff) | |
download | linux-f90c34bd658d240cb5ebc5fe0a17796e590c6ec8.tar.xz |
of/promtree: no longer call prom_ functions directly; use an ops structure
Rather than assuming an architecture defines prom_getchild and friends,
define an ops struct with hooks for the various prom functions that
pdt.c needs. This ops struct is filled in by the
arch-(and sometimes firmware-)specific code, and passed to
of_pdt_build_devicetree.
Update sparc code to define the ops struct as well.
Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/linux/ioc3.h')
0 files changed, 0 insertions, 0 deletions