core: drop const for struct driver_info
authorWalter Lozano <walter.lozano@collabora.com>
Thu, 25 Jun 2020 04:10:10 +0000 (01:10 -0300)
committerSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 04:00:29 +0000 (22:00 -0600)
commit908d0243ac0bdf2672ec584a52d178100fff3fb2
tree5d67cae016d0c7bde80a715b892ca1336575cbcc
parent6397427c476be73660408bedbcc548f32406c128
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>
drivers/core/device.c
drivers/core/root.c
include/dm/device-internal.h