commit | 34a1d350ee30c11a4f2615220e3bb31bcd33588a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jun 11 23:29:49 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Fri Jun 20 11:55:49 2014 -0600 |
tree | 54dee9f0c349937bf39a2aebc2a7e1d9e6e60842 | |
parent | df6bd7d9ce4c6d97a5da021631f920ba5e351b2c [diff] |
dm: Cast away the const-ness of the global_data pointer In a very few cases we need to adjust the driver model root device, such as when setting it up at initialisation. Add a macro to make this easier. Signed-off-by: Simon Glass <sjg@chromium.org>