summaryrefslogtreecommitdiff
path: root/include/linux/of_reserved_mem.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2014-05-09 01:06:17 +0400
committerRob Herring <robh@kernel.org>2014-05-20 23:25:21 +0400
commit9dd3107576c4bbd40e1c2c8b24d560abf9a7b991 (patch)
treecc83c624d4161a1efd013a047bc75eb965dae544 /include/linux/of_reserved_mem.h
parent063092883039e49e5edc1f63133dc5ad437361a2 (diff)
downloadlinux-9dd3107576c4bbd40e1c2c8b24d560abf9a7b991.tar.xz
of: align RESERVEDMEM_OF_DECLARE function callbacks to other callbacks
All the parameters for RESERVEDMEM_OF_DECLARE function callbacks are members of struct reserved_mem, so just pass the struct ptr to callback functions so the function callback is more in line with other OF match table callbacks. Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Grant Likely <grant.likely@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'include/linux/of_reserved_mem.h')
-rw-r--r--include/linux/of_reserved_mem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/of_reserved_mem.h b/include/linux/of_reserved_mem.h
index 9b1fbb7f29fc..4c81b84e95ff 100644
--- a/include/linux/of_reserved_mem.h
+++ b/include/linux/of_reserved_mem.h
@@ -21,8 +21,8 @@ struct reserved_mem_ops {
struct device *dev);
};
-typedef int (*reservedmem_of_init_fn)(struct reserved_mem *rmem,
- unsigned long node, const char *uname);
+typedef int (*reservedmem_of_init_fn)(struct reserved_mem *rmem);
+
#ifdef CONFIG_OF_RESERVED_MEM
void fdt_init_reserved_mem(void);