]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers: of: add automated assignment of reserved regions to client devices
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 14 Jul 2014 08:28:04 +0000 (10:28 +0200)
committerGrant Likely <grant.likely@linaro.org>
Fri, 1 Aug 2014 18:22:21 +0000 (12:22 -0600)
commit9dcfee01930e6cc1e84d28c232664f0c19a1f86c
tree747884063ec2dfb1dda29f616d87ceb4d6211e04
parent3069f0c07f8d64ebf6ff5d2d1553e0a6dad4316e
drivers: of: add automated assignment of reserved regions to client devices

This patch adds code for automated assignment of reserved memory regions
to struct device. reserved_mem->ops->device_init()/device_cleanup()
callbacks are called to perform reserved memory driver specific
initialization and cleanup

Based on previous code provided by Josh Cartwright <joshc@codeaurora.org>

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/of_reserved_mem.c
include/linux/of_reserved_mem.h