From 2cac6860c3f451a661d8281d25a72dd5db89f4e4 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 16 May 2009 22:05:42 +0000 Subject: Drop unused/duplicated #includes and some dead code Build-tested on 32bit x86. Corresponding to flashrom svn r521. Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann --- flash.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'flash.h') diff --git a/flash.h b/flash.h index 2a9b9bb..31f4bfd 100644 --- a/flash.h +++ b/flash.h @@ -548,13 +548,6 @@ extern struct flashchip flashchips[]; void myusec_delay(int time); void myusec_calibrate_delay(void); -/* PCI handling for board/chipset_enable */ -struct pci_access *pacc; -struct pci_dev *pci_dev_find_filter(struct pci_filter filter); -struct pci_dev *pci_dev_find(uint16_t vendor, uint16_t device); -struct pci_dev *pci_card_find(uint16_t vendor, uint16_t device, - uint16_t card_vendor, uint16_t card_device); - /* pcidev.c */ #define PCI_OK 0 #define PCI_NT 1 /* Not tested */ @@ -607,6 +600,10 @@ void *physmap(const char *descr, unsigned long phys_addr, size_t len); void physunmap(void *virt_addr, size_t len); /* internal.c */ +struct pci_dev *pci_dev_find_filter(struct pci_filter filter); +struct pci_dev *pci_dev_find(uint16_t vendor, uint16_t device); +struct pci_dev *pci_card_find(uint16_t vendor, uint16_t device, + uint16_t card_vendor, uint16_t card_device); void get_io_perms(void); int internal_init(void); int internal_shutdown(void); -- cgit v1.1