summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2010-10-11 03:49:45 (GMT)
committerGrant Likely <grant.likely@secretlab.ca>2010-10-13 03:57:53 (GMT)
commitf90c34bd658d240cb5ebc5fe0a17796e590c6ec8 (patch)
tree02e8243910e156d3af4a14bd9be63dd829d07576 /drivers/md
parent3cfc535c5df8122af1258ae05aaf2770c033425d (diff)
downloadlinux-fsl-qoriq-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 'drivers/md')
0 files changed, 0 insertions, 0 deletions