aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/of_device.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-06-29 17:35:33 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-29 19:37:16 -0400
commit3ca9fab410fbef6fc3a13284f5c26faccade21d1 (patch)
tree91b4c38077db397bec0ff85f1c89c9f869b3970f /include/asm-sparc64/of_device.h
parent95714e12dfb4794ee120f058fdf763e61baaad82 (diff)
[SPARC]: Add of_io{remap,unmap}().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/of_device.h')
-rw-r--r--include/asm-sparc64/of_device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sparc64/of_device.h b/include/asm-sparc64/of_device.h
index 27bc08671d68..37c5856fae12 100644
--- a/include/asm-sparc64/of_device.h
+++ b/include/asm-sparc64/of_device.h
@@ -32,6 +32,9 @@ struct of_device
32}; 32};
33#define to_of_device(d) container_of(d, struct of_device, dev) 33#define to_of_device(d) container_of(d, struct of_device, dev)
34 34
35extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name);
36extern void of_iounmap(void __iomem *base, unsigned long size);
37
35extern const struct of_device_id *of_match_device( 38extern const struct of_device_id *of_match_device(
36 const struct of_device_id *matches, const struct of_device *dev); 39 const struct of_device_id *matches, const struct of_device *dev);
37 40