diff options
author | David S. Miller <davem@davemloft.net> | 2006-06-29 17:35:33 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-29 19:37:16 -0400 |
commit | 3ca9fab410fbef6fc3a13284f5c26faccade21d1 (patch) | |
tree | 91b4c38077db397bec0ff85f1c89c9f869b3970f /include/asm-sparc | |
parent | 95714e12dfb4794ee120f058fdf763e61baaad82 (diff) |
[SPARC]: Add of_io{remap,unmap}().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc')
-rw-r--r-- | include/asm-sparc/of_device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sparc/of_device.h b/include/asm-sparc/of_device.h index 1b43ee5eb5e7..b5ca3145d48b 100644 --- a/include/asm-sparc/of_device.h +++ b/include/asm-sparc/of_device.h | |||
@@ -31,6 +31,9 @@ struct of_device | |||
31 | }; | 31 | }; |
32 | #define to_of_device(d) container_of(d, struct of_device, dev) | 32 | #define to_of_device(d) container_of(d, struct of_device, dev) |
33 | 33 | ||
34 | extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name); | ||
35 | extern void of_iounmap(void __iomem *base, unsigned long size); | ||
36 | |||
34 | extern const struct of_device_id *of_match_device( | 37 | extern const struct of_device_id *of_match_device( |
35 | const struct of_device_id *matches, const struct of_device *dev); | 38 | const struct of_device_id *matches, const struct of_device *dev); |
36 | 39 | ||