sparc: Move property building code into prom_common.c

Unfortunately there is some sparc32/sparc64 ifdef'ery in
here due to the difference in how the prom_firstprop()
and prom_nextprop() routines work.

This will be eliminated eventually.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2008-12-05 01:00:46 -08:00
parent e5ff0fe31d
commit b9e5567cda
4 changed files with 83 additions and 126 deletions

View File

@@ -15,4 +15,6 @@ extern void irq_trans_init(struct device_node *dp);
extern unsigned int prom_unique_id;
extern struct property * __init build_prop_list(phandle node);
#endif /* __PROM_H */