summaryrefslogtreecommitdiffstats
path: root/nicrealtek.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-06-01 23:49:03 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-06-01 23:49:03 +0000
commit0ccec8f21228fab9e5e57c9392f6feafbf296ef1 (patch)
treeacd2e0d426a3ec0b7829df72f6a0cbb8a9c232e2 /nicrealtek.c
parent72d42f87a9a01a1d27fba593ce4569331e079cbe (diff)
downloadast2050-flashrom-0ccec8f21228fab9e5e57c9392f6feafbf296ef1.zip
ast2050-flashrom-0ccec8f21228fab9e5e57c9392f6feafbf296ef1.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 'nicrealtek.c')
-rw-r--r--nicrealtek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nicrealtek.c b/nicrealtek.c
index 02fbd39..4a440ea 100644
--- a/nicrealtek.c
+++ b/nicrealtek.c
@@ -28,6 +28,7 @@
#define PCI_VENDOR_ID_REALTEK 0x10ec
#define PCI_VENDOR_ID_SMC1211 0x1113
+static uint32_t io_base_addr = 0;
static int bios_rom_addr, bios_rom_data;
const struct dev_entry nics_realtek[] = {
OpenPOWER on IntegriCloud