hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/arch/arm/include/asm/mach/pci.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * arch/arm/include/asm/mach/pci.h
34 *
45 * 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.
96 */
107
118 #ifndef __ASM_MACH_PCI_H
....@@ -20,10 +17,8 @@
2017 struct device;
2118
2219 struct hw_pci {
23
- struct msi_controller *msi_ctrl;
2420 struct pci_ops *ops;
2521 int nr_controllers;
26
- unsigned int io_optional:1;
2722 void **private_data;
2823 int (*setup)(int nr, struct pci_sys_data *);
2924 int (*scan)(int nr, struct pci_host_bridge *);
....@@ -31,11 +26,6 @@
3126 void (*postinit)(void);
3227 u8 (*swizzle)(struct pci_dev *dev, u8 *pin);
3328 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);
3929 };
4030
4131 /*