|
@@ -126,6 +126,8 @@ extern raw_spinlock_t devtree_lock;
|
|
|
#define OF_POPULATED 3 /* device already created for the node */
|
|
|
#define OF_POPULATED_BUS 4 /* of_platform_populate recursed to children of this node */
|
|
|
|
|
|
+#define OF_BAD_ADDR ((u64)-1)
|
|
|
+
|
|
|
#ifdef CONFIG_OF
|
|
|
void of_core_init(void);
|
|
|
|
|
@@ -229,8 +231,6 @@ static inline unsigned long of_read_ulong(const __be32 *cell, int size)
|
|
|
#define OF_IS_DYNAMIC(x) test_bit(OF_DYNAMIC, &x->_flags)
|
|
|
#define OF_MARK_DYNAMIC(x) set_bit(OF_DYNAMIC, &x->_flags)
|
|
|
|
|
|
-#define OF_BAD_ADDR ((u64)-1)
|
|
|
-
|
|
|
static inline const char *of_node_full_name(const struct device_node *np)
|
|
|
{
|
|
|
return np ? np->full_name : "<no-node>";
|