aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/pbm.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-06-23 15:53:31 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-23 23:15:45 -0700
commit942a6bdd1c4d2419a42be77ba1c964e4ba8dae9e (patch)
treeb1a432a83aff7b88d301d4932ff75e5078b8c347 /include/asm-sparc/pbm.h
parent[SPARC64]: Add of_device layer and make ebus/isa use it. (diff)
downloadlinux-dev-942a6bdd1c4d2419a42be77ba1c964e4ba8dae9e.tar.xz
linux-dev-942a6bdd1c4d2419a42be77ba1c964e4ba8dae9e.zip
[SPARC]: Port sparc64 in-kernel device tree code to sparc32.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc/pbm.h')
-rw-r--r--include/asm-sparc/pbm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sparc/pbm.h b/include/asm-sparc/pbm.h
index 0aba3a82c2eb..fedd9c6e875c 100644
--- a/include/asm-sparc/pbm.h
+++ b/include/asm-sparc/pbm.h
@@ -22,6 +22,7 @@
#include <linux/pci.h>
#include <asm/oplib.h>
+#include <asm/prom.h>
struct linux_pbm_info {
int prom_node;
@@ -40,7 +41,7 @@ struct linux_pbm_info {
*/
struct pcidev_cookie {
struct linux_pbm_info *pbm;
- int prom_node;
+ struct device_node *prom_node;
};
#endif /* !(__SPARC_PBM_H) */