summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorGeorge G. Davis <ggdavisiv@gmail.com>2015-01-09 15:29:05 +0100
committerRob Herring <robh@kernel.org>2015-01-13 20:56:58 +0100
commit615fde79feb854bcda56abf9e5cfcd6638b3d310 (patch)
tree86525459eb57e0a70b8315eb42cbff316fafb090 /drivers/of
parentdevicetree: document the "qemu" and "virtio" vendor prefixes (diff)
downloadlinux-615fde79feb854bcda56abf9e5cfcd6638b3d310.tar.xz
linux-615fde79feb854bcda56abf9e5cfcd6638b3d310.zip
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>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/of_reserved_mem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c
index dc566b38645f..726ebe792813 100644
--- a/drivers/of/of_reserved_mem.c
+++ b/drivers/of/of_reserved_mem.c
@@ -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);