projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: core: Update lists_bind_fdt() to use ofnode
[oweals/u-boot.git]
/
drivers
/
mtd
/
cfi_flash.c
diff --git
a/drivers/mtd/cfi_flash.c
b/drivers/mtd/cfi_flash.c
index e036b88a6256c5752021af6351da6d0185a383b1..d440f5ccd96d07816ca2be3b16cb401db0a9a638 100644
(file)
--- a/
drivers/mtd/cfi_flash.c
+++ b/
drivers/mtd/cfi_flash.c
@@
-2441,7
+2441,7
@@
unsigned long flash_init (void)
static int cfi_flash_probe(struct udevice *dev)
{
void *blob = (void *)gd->fdt_blob;
- int node = dev
->of_offset
;
+ int node = dev
_of_offset(dev)
;
const fdt32_t *cell;
phys_addr_t addr;
int parent, addrc, sizec;