]> err.no Git - linux-2.6/blobdiff - drivers/video/offb.c
[ARM] 2956/1: fix the "Fix gcc4 build errors in ucb1x00-core.c"
[linux-2.6] / drivers / video / offb.c
index 42a6591e863f8af3c3d52ead6f4d3e94f1efe801..611922c0b22fbb8e4906be82b85c446c5351a1a4 100644 (file)
@@ -363,7 +363,7 @@ static void __init offb_init_nodriver(struct device_node *dp)
                address = (u_long) dp->addrs[i].address;
 
 #ifdef CONFIG_PPC64
-               address += dp->phb->pci_mem_offset;
+               address += ((struct pci_dn *)dp->data)->phb->pci_mem_offset;
 #endif
 
                /* kludge for valkyrie */