diff options
Diffstat (limited to 'include/linux/pci-epf.h')
| -rw-r--r-- | include/linux/pci-epf.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/linux/pci-epf.h b/include/linux/pci-epf.h index 0d529cb90143..60d551a9a1ba 100644 --- a/include/linux/pci-epf.h +++ b/include/linux/pci-epf.h | |||
| @@ -14,17 +14,10 @@ | |||
| 14 | 14 | ||
| 15 | #include <linux/device.h> | 15 | #include <linux/device.h> |
| 16 | #include <linux/mod_devicetable.h> | 16 | #include <linux/mod_devicetable.h> |
| 17 | #include <linux/pci.h> | ||
| 17 | 18 | ||
| 18 | struct pci_epf; | 19 | struct pci_epf; |
| 19 | 20 | ||
| 20 | enum pci_interrupt_pin { | ||
| 21 | PCI_INTERRUPT_UNKNOWN, | ||
| 22 | PCI_INTERRUPT_INTA, | ||
| 23 | PCI_INTERRUPT_INTB, | ||
| 24 | PCI_INTERRUPT_INTC, | ||
| 25 | PCI_INTERRUPT_INTD, | ||
| 26 | }; | ||
| 27 | |||
| 28 | enum pci_barno { | 21 | enum pci_barno { |
| 29 | BAR_0, | 22 | BAR_0, |
| 30 | BAR_1, | 23 | BAR_1, |
| @@ -149,6 +142,8 @@ static inline void *epf_get_drvdata(struct pci_epf *epf) | |||
| 149 | return dev_get_drvdata(&epf->dev); | 142 | return dev_get_drvdata(&epf->dev); |
| 150 | } | 143 | } |
| 151 | 144 | ||
| 145 | const struct pci_epf_device_id * | ||
| 146 | pci_epf_match_device(const struct pci_epf_device_id *id, struct pci_epf *epf); | ||
| 152 | struct pci_epf *pci_epf_create(const char *name); | 147 | struct pci_epf *pci_epf_create(const char *name); |
| 153 | void pci_epf_destroy(struct pci_epf *epf); | 148 | void pci_epf_destroy(struct pci_epf *epf); |
| 154 | int __pci_epf_register_driver(struct pci_epf_driver *driver, | 149 | int __pci_epf_register_driver(struct pci_epf_driver *driver, |
