diff options
Diffstat (limited to 'include/asm-sparc64/of_device.h')
-rw-r--r-- | include/asm-sparc64/of_device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sparc64/of_device.h b/include/asm-sparc64/of_device.h index 27bc08671d6..37c5856fae1 100644 --- a/include/asm-sparc64/of_device.h +++ b/include/asm-sparc64/of_device.h @@ -32,6 +32,9 @@ struct of_device }; #define to_of_device(d) container_of(d, struct of_device, dev) +extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name); +extern void of_iounmap(void __iomem *base, unsigned long size); + extern const struct of_device_id *of_match_device( const struct of_device_id *matches, const struct of_device *dev); |