drivers: of: Export of_reserved_mem_device_{init,release}
authorGeorge G. Davis <ggdavisiv@gmail.com>
Fri, 9 Jan 2015 14:29:05 +0000 (09:29 -0500)
committerRob Herring <robh@kernel.org>
Tue, 13 Jan 2015 19:56:58 +0000 (13:56 -0600)
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>
drivers/of/of_reserved_mem.c

index dc566b38645f6fcd3a296aa5e82419c857b81bcc..726ebe792813011e69670a19ada489159ea6b64d 100644 (file)
@@ -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);