aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-11-23 03:04:05 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-11-23 03:04:05 -0500
commit92907cbbef8625bb3998d1eb385fc88f23c97a3f (patch)
tree15626ff9287e37c3cb81c7286d6db5a7fd77c854 /include/linux/of.h
parent15fbfccfe92c62ae8d1ecc647c44157ed01ac02e (diff)
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff)
Merge tag 'v4.4-rc2' into drm-intel-next-queued
Linux 4.4-rc2 Backmerge to get at commit 1b0e3a049efe471c399674fd954500ce97438d30 Author: Imre Deak <imre.deak@intel.com> Date: Thu Nov 5 23:04:11 2015 +0200 drm/i915/skl: disable display side power well support for now so that we can proplery re-eanble skl power wells in -next. Conflicts are just adjacent lines changed, except for intel_fbdev.c where we need to interleave the changs. Nothing nefarious. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/linux/of.h')
-rw-r--r--include/linux/of.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/of.h b/include/linux/of.h
index 2194b8ca41f9..dd10626a615f 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -126,6 +126,8 @@ extern raw_spinlock_t devtree_lock;
126#define OF_POPULATED 3 /* device already created for the node */ 126#define OF_POPULATED 3 /* device already created for the node */
127#define OF_POPULATED_BUS 4 /* of_platform_populate recursed to children of this node */ 127#define OF_POPULATED_BUS 4 /* of_platform_populate recursed to children of this node */
128 128
129#define OF_BAD_ADDR ((u64)-1)
130
129#ifdef CONFIG_OF 131#ifdef CONFIG_OF
130void of_core_init(void); 132void of_core_init(void);
131 133
@@ -229,8 +231,6 @@ static inline unsigned long of_read_ulong(const __be32 *cell, int size)
229#define OF_IS_DYNAMIC(x) test_bit(OF_DYNAMIC, &x->_flags) 231#define OF_IS_DYNAMIC(x) test_bit(OF_DYNAMIC, &x->_flags)
230#define OF_MARK_DYNAMIC(x) set_bit(OF_DYNAMIC, &x->_flags) 232#define OF_MARK_DYNAMIC(x) set_bit(OF_DYNAMIC, &x->_flags)
231 233
232#define OF_BAD_ADDR ((u64)-1)
233
234static inline const char *of_node_full_name(const struct device_node *np) 234static inline const char *of_node_full_name(const struct device_node *np)
235{ 235{
236 return np ? np->full_name : "<no-node>"; 236 return np ? np->full_name : "<no-node>";