summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/fb.h')
-rw-r--r--arch/sparc/include/asm/fb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/fb.h b/arch/sparc/include/asm/fb.h
index b83e447..e834880 100644
--- a/arch/sparc/include/asm/fb.h
+++ b/arch/sparc/include/asm/fb.h
@@ -18,7 +18,7 @@ static inline int fb_is_primary_device(struct fb_info *info)
struct device *dev = info->device;
struct device_node *node;
- node = dev->archdata.prom_node;
+ node = dev->of_node;
if (node &&
node == of_console_device)
return 1;
OpenPOWER on IntegriCloud