diff options
author | Christoph Hellwig <hch@lst.de> | 2015-08-10 23:07:07 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-08-14 16:01:21 -0400 |
commit | 7d3dcf26a6559fa82af3f53e2c8b163cec95fdaf (patch) | |
tree | 6175706fabf462830edfbfbbc041a89384b3a36e /include/linux/io.h | |
parent | e836a256e8fd579c9d7a3685f22981225a1ca451 (diff) | |
download | linux-next-7d3dcf26a6559fa82af3f53e2c8b163cec95fdaf.tar.gz |
devres: add devm_memremap
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/io.h')
-rw-r--r-- | include/linux/io.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/io.h b/include/linux/io.h index 3fcf6256c088..d8d749abd665 100644 --- a/include/linux/io.h +++ b/include/linux/io.h @@ -80,6 +80,10 @@ int check_signature(const volatile void __iomem *io_addr, const unsigned char *signature, int length); void devm_ioremap_release(struct device *dev, void *res); +void *devm_memremap(struct device *dev, resource_size_t offset, + size_t size, unsigned long flags); +void devm_memunmap(struct device *dev, void *addr); + /* * Some systems do not have legacy ISA devices. * /dev/port is not a valid interface on these systems. |