diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2009-10-15 12:57:51 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-10-15 12:57:51 -0400 |
commit | 61e955db539e748cff2b8ea3bf7705259ebe9fb6 (patch) | |
tree | 444514538ef891634b7161655f5300d90cae936e /arch/sparc | |
parent | 6f1924928377bd035a9f64466f91a487c69271d2 (diff) |
of: Move OF_IS_DYNAMIC and OF_MARK_DYNAMIC macros to of.h
Merge of common code duplicated between Sparc, PowerPC and Microblaze
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Michal Simek <monstr@monstr.eu>
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/prom.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc/include/asm/prom.h b/arch/sparc/include/asm/prom.h index e5f4a1d8fc46..ddbd870b5720 100644 --- a/arch/sparc/include/asm/prom.h +++ b/arch/sparc/include/asm/prom.h | |||
@@ -34,9 +34,6 @@ struct of_irq_controller { | |||
34 | void *data; | 34 | void *data; |
35 | }; | 35 | }; |
36 | 36 | ||
37 | #define OF_IS_DYNAMIC(x) test_bit(OF_DYNAMIC, &x->_flags) | ||
38 | #define OF_MARK_DYNAMIC(x) set_bit(OF_DYNAMIC, &x->_flags) | ||
39 | |||
40 | extern struct device_node *of_find_node_by_cpuid(int cpuid); | 37 | extern struct device_node *of_find_node_by_cpuid(int cpuid); |
41 | extern int of_set_property(struct device_node *node, const char *name, void *val, int len); | 38 | extern int of_set_property(struct device_node *node, const char *name, void *val, int len); |
42 | extern struct mutex of_set_property_mutex; | 39 | extern struct mutex of_set_property_mutex; |