projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make fs/{namespace,super}.c forget about acct.h
[linux-block.git]
/
include
/
linux
/
io.h
diff --git
a/include/linux/io.h
b/include/linux/io.h
index b76e6e5458064551d53ae527281a8a353e9f6301..d5fc9b8d8b03c1add6747924f406db6649c9d232 100644
(file)
--- a/
include/linux/io.h
+++ b/
include/linux/io.h
@@
-58,6
+58,8
@@
static inline void devm_ioport_unmap(struct device *dev, void __iomem *addr)
}
#endif
+#define IOMEM_ERR_PTR(err) (__force void __iomem *)ERR_PTR(err)
+
void __iomem *devm_ioremap(struct device *dev, resource_size_t offset,
unsigned long size);
void __iomem *devm_ioremap_nocache(struct device *dev, resource_size_t offset,