diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ioport.h | 6 | ||||
-rw-r--r-- | include/linux/pci.h | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h index 7129504e053d..f4195de4eb9d 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h | |||
@@ -120,8 +120,10 @@ extern void insert_resource_expand_to_fit(struct resource *root, struct resource | |||
120 | extern int allocate_resource(struct resource *root, struct resource *new, | 120 | extern int allocate_resource(struct resource *root, struct resource *new, |
121 | resource_size_t size, resource_size_t min, | 121 | resource_size_t size, resource_size_t min, |
122 | resource_size_t max, resource_size_t align, | 122 | resource_size_t max, resource_size_t align, |
123 | void (*alignf)(void *, struct resource *, | 123 | resource_size_t (*alignf)(void *, |
124 | resource_size_t, resource_size_t), | 124 | struct resource *, |
125 | resource_size_t, | ||
126 | resource_size_t), | ||
125 | void *alignf_data); | 127 | void *alignf_data); |
126 | int adjust_resource(struct resource *res, resource_size_t start, | 128 | int adjust_resource(struct resource *res, resource_size_t start, |
127 | resource_size_t size); | 129 | resource_size_t size); |
diff --git a/include/linux/pci.h b/include/linux/pci.h index 16f48e7506ed..1bd9f52b24b8 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -592,7 +592,8 @@ int __must_check pcibios_enable_device(struct pci_dev *, int mask); | |||
592 | char *pcibios_setup(char *str); | 592 | char *pcibios_setup(char *str); |
593 | 593 | ||
594 | /* Used only when drivers/pci/setup.c is used */ | 594 | /* Used only when drivers/pci/setup.c is used */ |
595 | void pcibios_align_resource(void *, struct resource *, resource_size_t, | 595 | resource_size_t pcibios_align_resource(void *, struct resource *, |
596 | resource_size_t, | ||
596 | resource_size_t); | 597 | resource_size_t); |
597 | void pcibios_update_irq(struct pci_dev *, int irq); | 598 | void pcibios_update_irq(struct pci_dev *, int irq); |
598 | 599 | ||
@@ -827,8 +828,9 @@ int __must_check pci_bus_alloc_resource(struct pci_bus *bus, | |||
827 | struct resource *res, resource_size_t size, | 828 | struct resource *res, resource_size_t size, |
828 | resource_size_t align, resource_size_t min, | 829 | resource_size_t align, resource_size_t min, |
829 | unsigned int type_mask, | 830 | unsigned int type_mask, |
830 | void (*alignf)(void *, struct resource *, | 831 | resource_size_t (*alignf)(void *, struct resource *, |
831 | resource_size_t, resource_size_t), | 832 | resource_size_t, |
833 | resource_size_t), | ||
832 | void *alignf_data); | 834 | void *alignf_data); |
833 | void pci_enable_bridges(struct pci_bus *bus); | 835 | void pci_enable_bridges(struct pci_bus *bus); |
834 | 836 | ||