diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-06-01 23:49:03 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-06-01 23:49:03 +0000 |
commit | 30edfdd46aa6fe37849d54f421132fa208040241 (patch) | |
tree | acd2e0d426a3ec0b7829df72f6a0cbb8a9c232e2 /it8212.c | |
parent | 8ae25279cf73176e6838490f6ffd10124eb900fe (diff) | |
download | flashrom-30edfdd46aa6fe37849d54f421132fa208040241.zip flashrom-30edfdd46aa6fe37849d54f421132fa208040241.tar.gz |
Move global io_base_addr into compilation units
Corresponding to flashrom svn r1813.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'it8212.c')
-rw-r--r-- | it8212.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ int it8212_init(void) return 1; /* Bit 0 is address decode enable, 17-31 the base address, everything else reserved/zero. */ - io_base_addr = pcidev_readbar(dev, PCI_ROM_ADDRESS) & 0xFFFFFFFE; + uint32_t io_base_addr = pcidev_readbar(dev, PCI_ROM_ADDRESS) & 0xFFFFFFFE; if (!io_base_addr) return 1; |