aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of_fdt.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-02-01 23:34:14 -0500
committerGrant Likely <grant.likely@secretlab.ca>2010-02-09 10:33:00 -0500
commit71a157e8edca55198e808f8561dd49017a54ee34 (patch)
treea78185ea8204f1e375d88545235ba3d4937ebfaf /include/linux/of_fdt.h
parent89751a7cb70a20f0d604dd7c4be29dd7b0011718 (diff)
of: add 'of_' prefix to machine_is_compatible()
machine is compatible is an OF-specific call. It should have the of_ prefix to protect the global namespace. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'include/linux/of_fdt.h')
-rw-r--r--include/linux/of_fdt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h
index 8118d4559dd5..fbf29610616d 100644
--- a/include/linux/of_fdt.h
+++ b/include/linux/of_fdt.h
@@ -85,7 +85,7 @@ extern int early_init_dt_scan_root(unsigned long node, const char *uname,
85extern void finish_device_tree(void); 85extern void finish_device_tree(void);
86extern void unflatten_device_tree(void); 86extern void unflatten_device_tree(void);
87extern void early_init_devtree(void *); 87extern void early_init_devtree(void *);
88extern int machine_is_compatible(const char *compat); 88extern int of_machine_is_compatible(const char *compat);
89extern void print_properties(struct device_node *node); 89extern void print_properties(struct device_node *node);
90extern int prom_n_intr_cells(struct device_node* np); 90extern int prom_n_intr_cells(struct device_node* np);
91extern void prom_get_irq_senses(unsigned char *senses, int off, int max); 91extern void prom_get_irq_senses(unsigned char *senses, int off, int max);