.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * arch/arm/include/asm/mach/pci.h |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2000 Russell King |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License version 2 as |
---|
8 | | - * published by the Free Software Foundation. |
---|
9 | 6 | */ |
---|
10 | 7 | |
---|
11 | 8 | #ifndef __ASM_MACH_PCI_H |
---|
.. | .. |
---|
20 | 17 | struct device; |
---|
21 | 18 | |
---|
22 | 19 | struct hw_pci { |
---|
23 | | - struct msi_controller *msi_ctrl; |
---|
24 | 20 | struct pci_ops *ops; |
---|
25 | 21 | int nr_controllers; |
---|
26 | | - unsigned int io_optional:1; |
---|
27 | 22 | void **private_data; |
---|
28 | 23 | int (*setup)(int nr, struct pci_sys_data *); |
---|
29 | 24 | int (*scan)(int nr, struct pci_host_bridge *); |
---|
.. | .. |
---|
31 | 26 | void (*postinit)(void); |
---|
32 | 27 | u8 (*swizzle)(struct pci_dev *dev, u8 *pin); |
---|
33 | 28 | int (*map_irq)(const struct pci_dev *dev, u8 slot, u8 pin); |
---|
34 | | - resource_size_t (*align_resource)(struct pci_dev *dev, |
---|
35 | | - const struct resource *res, |
---|
36 | | - resource_size_t start, |
---|
37 | | - resource_size_t size, |
---|
38 | | - resource_size_t align); |
---|
39 | 29 | }; |
---|
40 | 30 | |
---|
41 | 31 | /* |
---|