lx_emul: add devm_ioremap_uc()

Issue #4542
This commit is contained in:
Christian Helmuth 2022-06-08 13:27:47 +02:00
parent ea8df22dbb
commit 3b3eef5307

View File

@ -1,6 +1,7 @@
/* /*
* \brief Replaces lib/devres.c * \brief Replaces lib/devres.c
* \author Stefan Kalkowski * \author Stefan Kalkowski
* \author Christian Helmuth
* \date 2021-03-16 * \date 2021-03-16
*/ */
@ -26,3 +27,10 @@ void __iomem *devm_ioremap(struct device *dev, resource_size_t offset,
{ {
return lx_emul_io_mem_map(offset, size); return lx_emul_io_mem_map(offset, size);
} }
void __iomem * devm_ioremap_uc(struct device *dev, resource_size_t offset,
resource_size_t size)
{
return lx_emul_io_mem_map(offset, size);
}