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: Rename dev_addr..() functions
[oweals/u-boot.git]
/
drivers
/
i2c
/
s3c24x0_i2c.c
diff --git
a/drivers/i2c/s3c24x0_i2c.c
b/drivers/i2c/s3c24x0_i2c.c
index 3c69dbf409b00fd8cff74cdd321fd6278a821e41..06fe0a51f3dbb2a4d1c4b66c58e1a9d492427df4 100644
(file)
--- a/
drivers/i2c/s3c24x0_i2c.c
+++ b/
drivers/i2c/s3c24x0_i2c.c
@@
-314,7
+314,7
@@
static int s3c_i2c_ofdata_to_platdata(struct udevice *dev)
node = dev_of_offset(dev);
- i2c_bus->regs = (struct s3c24x0_i2c *)dev_get_addr(dev);
+ i2c_bus->regs = (struct s3c24x0_i2c *)dev
fdt
_get_addr(dev);
i2c_bus->id = pinmux_decode_periph_id(blob, node);