Commit 615fde79 authored by George G. Davis's avatar George G. Davis Committed by Rob Herring

drivers: of: Export of_reserved_mem_device_{init,release}

Export of_reserved_mem_device_{init,release} so that modules
can initialize and release their assigned per-device cma_area.
Signed-off-by: default avatarGeorge G. Davis <george_davis@mentor.com>
[robh: s/EXPORT_SYMBOL/EXPORT_SYMBOL_GPL/]
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 957c8111
...@@ -265,6 +265,7 @@ int of_reserved_mem_device_init(struct device *dev) ...@@ -265,6 +265,7 @@ int of_reserved_mem_device_init(struct device *dev)
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(of_reserved_mem_device_init);
/** /**
* of_reserved_mem_device_release() - release reserved memory device structures * of_reserved_mem_device_release() - release reserved memory device structures
...@@ -289,3 +290,4 @@ void of_reserved_mem_device_release(struct device *dev) ...@@ -289,3 +290,4 @@ void of_reserved_mem_device_release(struct device *dev)
rmem->ops->device_release(rmem, dev); rmem->ops->device_release(rmem, dev);
} }
EXPORT_SYMBOL_GPL(of_reserved_mem_device_release);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment