summaryrefslogtreecommitdiffstats
path: root/programmer.h
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
commit30edfdd46aa6fe37849d54f421132fa208040241 (patch)
treeacd2e0d426a3ec0b7829df72f6a0cbb8a9c232e2 /programmer.h
parent8ae25279cf73176e6838490f6ffd10124eb900fe (diff)
downloadflashrom-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 'programmer.h')
-rw-r--r--programmer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/programmer.h b/programmer.h
index 3ea014c..d299656 100644
--- a/programmer.h
+++ b/programmer.h
@@ -173,8 +173,7 @@ struct bitbang_spi_master {
struct pci_dev;
/* pcidev.c */
-// FIXME: These need to be local, not global
-extern uint32_t io_base_addr;
+// FIXME: This needs to be local, not global(?)
extern struct pci_access *pacc;
int pci_init_common(void);
uintptr_t pcidev_readbar(struct pci_dev *dev, int bar);
OpenPOWER on IntegriCloud