diff options
author | Anastasia Klimchuk <aklm@chromium.org> | 2021-05-13 12:56:51 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2021-05-23 04:19:22 +0000 |
commit | 9a2f91d7eb07bfe1cc1fa52359e56f5498d89f84 (patch) | |
tree | 0a773d0bfa85cd9e8b6df308dd7a36caec8717c2 /gfxnvidia.c | |
parent | 9309bed2906440cfac1257135805fd82c5d8b7a8 (diff) | |
download | flashrom-9a2f91d7eb07bfe1cc1fa52359e56f5498d89f84.tar.gz flashrom-9a2f91d7eb07bfe1cc1fa52359e56f5498d89f84.tar.bz2 flashrom-9a2f91d7eb07bfe1cc1fa52359e56f5498d89f84.zip |
programmer: Make use of new register_opaque_master() API
Pass pointers to dynamically allocated data to
register_opaque_master(). This way we can avoid a mutable global.
BUG=b:185191942
TEST=builds
Change-Id: I160810cd67f782131962e96fc6d20e2987fb0390
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/54171
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'gfxnvidia.c')
0 files changed, 0 insertions, 0 deletions