mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
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: George G. Davis <george_davis@mentor.com> [robh: s/EXPORT_SYMBOL/EXPORT_SYMBOL_GPL/] Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
957c811147
commit
615fde79fe
@ -265,6 +265,7 @@ int of_reserved_mem_device_init(struct device *dev)
|
||||
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(of_reserved_mem_device_init);
|
||||
|
||||
/**
|
||||
* of_reserved_mem_device_release() - release reserved memory device structures
|
||||
@ -289,3 +290,4 @@ void of_reserved_mem_device_release(struct device *dev)
|
||||
|
||||
rmem->ops->device_release(rmem, dev);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(of_reserved_mem_device_release);
|
||||
|
Loading…
Reference in New Issue
Block a user