diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-10-22 11:43:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-05 20:32:21 +0300 |
commit | 6e924822752cb1664fa8f76cb9c0927490bca139 (patch) | |
tree | 8821de0d04ae3ff79b71bb8bbdae537ccae33501 /drivers/base/platform.c | |
parent | 4154abca299e0f27dfe362733bb5296c7bb4d63f (diff) | |
download | linux-6e924822752cb1664fa8f76cb9c0927490bca139.tar.xz |
lib: devres: prepare devm_ioremap_resource() for more variants
We want to add the write-combined variant of devm_ioremap_resource().
Let's first implement __devm_ioremap_resource() which takes
an additional argument type. The types are the same as for
__devm_ioremap(). The existing devm_ioremap_resource() now simply
calls __devm_ioremap_resource() with regular DEVM_IOREMAP type.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20191022084318.22256-3-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/platform.c')
0 files changed, 0 insertions, 0 deletions