diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-05-03 11:29:25 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-05-12 13:58:40 +0300 |
commit | 1272b9cd20895533f765ed030fe57282ece6ae48 (patch) | |
tree | e9b25de7b3a7fd3a17a95826243e2868f697ff92 /tools | |
parent | 88648205e3a884e04362a502b1793a2cd3f8ab83 (diff) |
tools/intel_bios_reader: make VBIOS non-global
No need for it to be global.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/intel_bios_reader.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/intel_bios_reader.c b/tools/intel_bios_reader.c index 709d3864..66f21df5 100644 --- a/tools/intel_bios_reader.c +++ b/tools/intel_bios_reader.c @@ -53,8 +53,6 @@ static uint32_t devid = -1; #define _V_BLANK(x) (x[6] + ((x[7] & 0x0F) << 8)) #define _PIXEL_CLOCK(x) (x[0] + (x[1] << 8)) * 10000 -uint8_t *VBIOS; - #define YESNO(val) ((val) ? "yes" : "no") /* This is not for mapping to memory layout. */ @@ -1374,6 +1372,7 @@ static void dump_section(const struct bdb_header *bdb, int section_id, int size) int main(int argc, char **argv) { + uint8_t *VBIOS; int fd; struct vbt_header *vbt = NULL; int vbt_off, bdb_off, i; |