diff options
author | Tom Rini <trini@konsulko.com> | 2016-04-25 13:32:58 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-25 13:32:58 -0400 |
commit | d30c3eb47155742deab7b6b4599097a56bd635aa (patch) | |
tree | 51739f378b781e7a5afd094798efd09af309e19e /include | |
parent | 3aee11c8ee7aa1e293a8a8fe83b362ca12c08d15 (diff) | |
parent | ba5da550ae1d955e53691e51cd74a27331ca3b3c (diff) | |
download | u-boot-imx-d30c3eb47155742deab7b6b4599097a56bd635aa.zip u-boot-imx-d30c3eb47155742deab7b6b4599097a56bd635aa.tar.gz u-boot-imx-d30c3eb47155742deab7b6b4599097a56bd635aa.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-i2c
Diffstat (limited to 'include')
-rw-r--r-- | include/dm/device.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dm/device.h b/include/dm/device.h index dad7591..8970fc0 100644 --- a/include/dm/device.h +++ b/include/dm/device.h @@ -454,6 +454,16 @@ int device_find_next_child(struct udevice **devp); fdt_addr_t dev_get_addr(struct udevice *dev); /** + * dev_get_addr_ptr() - Return pointer to the address of the reg property + * of a device + * + * @dev: Pointer to a device + * + * @return Pointer to addr, or NULL if there is no such property + */ +void *dev_get_addr_ptr(struct udevice *dev); + +/** * dev_get_addr_index() - Get the indexed reg property of a device * * @dev: Pointer to a device |