diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc/of_device.h | 3 | ||||
-rw-r--r-- | include/asm-sparc64/of_device.h | 3 |
2 files changed, 6 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 | ||
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 | ||
35 | extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name); | ||
36 | extern void of_iounmap(void __iomem *base, unsigned long size); | ||
37 | |||
35 | extern const struct of_device_id *of_match_device( | 38 | extern 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 | ||