diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-10-22 10:43:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-05 18:32:21 +0100 |
commit | b873af620e58863b70ae9cf97f6fab4cf4c544af (patch) | |
tree | 11d74bd61433e6949461435d450b1819c9de4218 /include/linux/device.h | |
parent | 6e924822752cb1664fa8f76cb9c0927490bca139 (diff) | |
download | linux-stable-b873af620e58863b70ae9cf97f6fab4cf4c544af.tar.gz linux-stable-b873af620e58863b70ae9cf97f6fab4cf4c544af.tar.bz2 linux-stable-b873af620e58863b70ae9cf97f6fab4cf4c544af.zip |
lib: devres: provide devm_ioremap_resource_wc()
Provide a variant of devm_ioremap_resource() for write-combined ioremap.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20191022084318.22256-4-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index d1bcc8f122f6..f05c5b92e61f 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -962,6 +962,8 @@ extern void devm_free_pages(struct device *dev, unsigned long addr); void __iomem *devm_ioremap_resource(struct device *dev, const struct resource *res); +void __iomem *devm_ioremap_resource_wc(struct device *dev, + const struct resource *res); void __iomem *devm_of_iomap(struct device *dev, struct device_node *node, int index, |