aboutsummaryrefslogtreecommitdiffstats
path: root/atahpt.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 /atahpt.c
parent72d42f87a9a01a1d27fba593ce4569331e079cbe (diff)
downloadflashrom-0ccec8f21228fab9e5e57c9392f6feafbf296ef1.tar.gz
flashrom-0ccec8f21228fab9e5e57c9392f6feafbf296ef1.tar.bz2
flashrom-0ccec8f21228fab9e5e57c9392f6feafbf296ef1.zip
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 'atahpt.c')
-rw-r--r--atahpt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/atahpt.c b/atahpt.c
index 242e14a8..edffa3b1 100644
--- a/atahpt.c
+++ b/atahpt.c
@@ -33,6 +33,8 @@
#define PCI_VENDOR_ID_HPT 0x1103
+static uint32_t io_base_addr = 0;
+
const struct dev_entry ata_hpt[] = {
{0x1103, 0x0004, NT, "Highpoint", "HPT366/368/370/370A/372/372N"},
{0x1103, 0x0005, NT, "Highpoint", "HPT372A/372N"},