summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-vexpress
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2012-11-30 10:01:51 +0000
committerGrant Likely <grant.likely@secretlab.ca>2012-11-30 10:04:06 +0000
commit465aac6d496aa3e99caaa6868865fb3830f73d80 (patch)
tree105ef4075b2f2f351aafb6d87ee69d60b3c1e751 /arch/arm/mach-vexpress
parentf3b6159e6a12136ac9c59aaa92ba9f3e484df650 (diff)
downloadblackbird-op-linux-465aac6d496aa3e99caaa6868865fb3830f73d80.tar.gz
blackbird-op-linux-465aac6d496aa3e99caaa6868865fb3830f73d80.zip
Fix build when CONFIG_W1_MASTER_GPIO=m b exporting "allnodes"
ERROR: "allnodes" [drivers/w1/masters/w1-gpio.ko] undefined! Signed-off-by: Randy Dunlap <rdunlap@infradead.org> [grant.likely: allnodes is too generic; rename to of_allnodes] Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Cc: Ville Syrjala <syrjala@sci.fi>
Diffstat (limited to 'arch/arm/mach-vexpress')
-rw-r--r--arch/arm/mach-vexpress/v2m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c
index 560e0df728f8..359f782c747d 100644
--- a/arch/arm/mach-vexpress/v2m.c
+++ b/arch/arm/mach-vexpress/v2m.c
@@ -589,7 +589,7 @@ void __init v2m_dt_init_early(void)
return;
/* Confirm board type against DT property, if available */
- if (of_property_read_u32(allnodes, "arm,hbi", &dt_hbi) == 0) {
+ if (of_property_read_u32(of_allnodes, "arm,hbi", &dt_hbi) == 0) {
int site = v2m_get_master_site();
u32 id = readl(v2m_sysreg_base + (site == SYS_CFG_SITE_DB2 ?
V2M_SYS_PROCID1 : V2M_SYS_PROCID0));
OpenPOWER on IntegriCloud