summaryrefslogtreecommitdiff
path: root/drivers/core/root.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-15 17:25:13 +1300
committerSimon Glass <sjg@chromium.org>2021-03-22 19:23:28 +1300
commit851144350b6ff1d4982b9af2f9b0fe48aed24b3c (patch)
treec429438f2b196a2ba1cde8607e8dc1f293c8ce6a /drivers/core/root.c
parentb5e514a6abc5cc31d350f9ca25cb6a6d4895c338 (diff)
linker_lists: Allow use in data structures
At present linker lists are designed for use in code. They make use of statements within expressions ({...}), for example. It is possible to generate a reference to a linker_list entry that can be used in data structures, where such features are not permitted. It requires that the reference first be declared as extern. In other words the existing macro needs to be split into two parts. Add new macros to support this. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core/root.c')
0 files changed, 0 insertions, 0 deletions