diff options
author | Patrick Georgi <patrick.georgi@secunet.com> | 2012-07-20 20:35:14 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2012-07-20 20:35:14 +0000 |
commit | 3977dc742fc2dc342c5a15b5c2c9f0fbb194445f (patch) | |
tree | 0641d77a791290f6842fd60446e87871f6867651 /programmer.h | |
parent | 46b7999a08289059563e2fb683eb69b4a40cfe3c (diff) | |
download | flashrom-3977dc742fc2dc342c5a15b5c2c9f0fbb194445f.zip flashrom-3977dc742fc2dc342c5a15b5c2c9f0fbb194445f.tar.gz |
Hide hwaccess.h from public API
Move hwaccess.h #include from flash.h to individual drivers.
libflashrom users need flash.h, but they do not care about hwaccess.h
and should not see its definitions because they may conflict with
other hardware access functions and #defines used by the libflashrom
user.
Corresponding to flashrom svn r1549.
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'programmer.h')
-rw-r--r-- | programmer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/programmer.h b/programmer.h index 51d04fd..6f07dd0 100644 --- a/programmer.h +++ b/programmer.h @@ -144,6 +144,7 @@ struct bitbang_spi_master { }; #if CONFIG_INTERNAL == 1 +struct pci_dev; struct penable { uint16_t vendor_id; uint16_t device_id; @@ -294,6 +295,7 @@ extern int superio_count; #define SUPERIO_VENDOR_WINBOND 0x2 #endif #if NEED_PCI == 1 +struct pci_filter; struct pci_dev *pci_dev_find_filter(struct pci_filter filter); struct pci_dev *pci_dev_find_vendorclass(uint16_t vendor, uint16_t devclass); struct pci_dev *pci_dev_find(uint16_t vendor, uint16_t device); |