aboutsummaryrefslogtreecommitdiffstats
path: root/include/dm
diff options
context:
space:
mode:
authorWalter Lozano <walter.lozano@collabora.com>2020-06-25 01:10:10 -0300
committerSimon Glass <sjg@chromium.org>2020-07-09 22:00:29 -0600
commit908d0243ac0bdf2672ec584a52d178100fff3fb2 (patch)
tree5d67cae016d0c7bde80a715b892ca1336575cbcc /include/dm
parent6397427c476be73660408bedbcc548f32406c128 (diff)
downloadplatform_external_u-boot-908d0243ac0bdf2672ec584a52d178100fff3fb2.tar.gz
platform_external_u-boot-908d0243ac0bdf2672ec584a52d178100fff3fb2.tar.bz2
platform_external_u-boot-908d0243ac0bdf2672ec584a52d178100fff3fb2.zip
core: drop const for struct driver_info
In order to prepare for a new support of phandle when OF_PLATDATA is used drop the const for struct driver_info as this struct will need to be updated on runtime. Signed-off-by: Walter Lozano <walter.lozano@collabora.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/device-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h
index 294d6c1810..5145fb4e14 100644
--- a/include/dm/device-internal.h
+++ b/include/dm/device-internal.h
@@ -81,7 +81,7 @@ int device_bind_with_driver_data(struct udevice *parent,
* @return 0 if OK, -ve on error
*/
int device_bind_by_name(struct udevice *parent, bool pre_reloc_only,
- const struct driver_info *info, struct udevice **devp);
+ struct driver_info *info, struct udevice **devp);
/**
* device_ofdata_to_platdata() - Read platform data for a device