diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2009-11-23 21:49:38 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-11-23 21:49:38 -0500 |
commit | 31a6a87dfc34fbf02aef9a160adf558ec56d3ccd (patch) | |
tree | dd6647ce9ca3d2c72d68f4b720b06abd1e5e6c1a /include | |
parent | 819d2819303654c6829d572e698e2d0021c08599 (diff) |
of/flattree: remove __init annotations from the header file
__init annotation belongs in the .c file, not the header.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/of_fdt.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h index d1a79f3da789..81231e04e8f3 100644 --- a/include/linux/of_fdt.h +++ b/include/linux/of_fdt.h | |||
@@ -62,15 +62,13 @@ extern struct boot_param_header *initial_boot_params; | |||
62 | 62 | ||
63 | /* For scanning the flat device-tree at boot time */ | 63 | /* For scanning the flat device-tree at boot time */ |
64 | extern char *find_flat_dt_string(u32 offset); | 64 | extern char *find_flat_dt_string(u32 offset); |
65 | extern int __init of_scan_flat_dt(int (*it)(unsigned long node, | 65 | extern int of_scan_flat_dt(int (*it)(unsigned long node, const char *uname, |
66 | const char *uname, int depth, | 66 | int depth, void *data), |
67 | void *data), | 67 | void *data); |
68 | void *data); | 68 | extern void *of_get_flat_dt_prop(unsigned long node, const char *name, |
69 | extern void __init *of_get_flat_dt_prop(unsigned long node, const char *name, | 69 | unsigned long *size); |
70 | unsigned long *size); | 70 | extern int of_flat_dt_is_compatible(unsigned long node, const char *name); |
71 | extern int __init of_flat_dt_is_compatible(unsigned long node, | 71 | extern unsigned long of_get_flat_dt_root(void); |
72 | const char *name); | ||
73 | extern unsigned long __init of_get_flat_dt_root(void); | ||
74 | 72 | ||
75 | /* Other Prototypes */ | 73 | /* Other Prototypes */ |
76 | extern void finish_device_tree(void); | 74 | extern void finish_device_tree(void); |