dm: devres: Add tests
[oweals/u-boot.git] / drivers / core / of_addr.c
index 1bfaaeec00ac546f2e349b9dfcd9efe108cf4eea..4e256d992600dfc1f783dbd50746f94b18090b5c 100644 (file)
@@ -318,6 +318,10 @@ u64 of_translate_address(const struct device_node *dev, const __be32 *in_addr)
        return __of_translate_address(dev, in_addr, "ranges");
 }
 
+u64 of_translate_dma_address(const struct device_node *dev, const __be32 *in_addr)
+{
+       return __of_translate_address(dev, in_addr, "dma-ranges");
+}
 
 static int __of_address_to_resource(const struct device_node *dev,
                const __be32 *addrp, u64 size, unsigned int flags,