diff options
author | Walter Lozano | 2020-06-25 01:10:10 -0300 |
---|---|---|
committer | Simon Glass | 2020-07-09 22:00:29 -0600 |
commit | 908d0243ac0bdf2672ec584a52d178100fff3fb2 (patch) | |
tree | 5d67cae016d0c7bde80a715b892ca1336575cbcc /drivers/core/root.c | |
parent | 6397427c476be73660408bedbcc548f32406c128 (diff) |
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 'drivers/core/root.c')
-rw-r--r-- | drivers/core/root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/root.c b/drivers/core/root.c index 7d257ea887d..23a65cd71df 100644 --- a/drivers/core/root.c +++ b/drivers/core/root.c @@ -26,7 +26,7 @@ DECLARE_GLOBAL_DATA_PTR; -static const struct driver_info root_info = { +static struct driver_info root_info = { .name = "root_driver", }; |