diff --git a/repos/dde_linux/src/lib/lx_emul/shadow/lib/devres.c b/repos/dde_linux/src/lib/lx_emul/shadow/lib/devres.c index d0d0a2e319..39ecc1a9c2 100644 --- a/repos/dde_linux/src/lib/lx_emul/shadow/lib/devres.c +++ b/repos/dde_linux/src/lib/lx_emul/shadow/lib/devres.c @@ -1,6 +1,7 @@ /* * \brief Replaces lib/devres.c * \author Stefan Kalkowski + * \author Christian Helmuth * \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); } + + +void __iomem * devm_ioremap_uc(struct device *dev, resource_size_t offset, + resource_size_t size) +{ + return lx_emul_io_mem_map(offset, size); +}