| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2013-2015 ARM Limited, All Rights Reserved. |
|---|
| 3 | 4 | * Author: Marc Zyngier <marc.zyngier@arm.com> |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 6 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 7 | | - * published by the Free Software Foundation. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 | | - * GNU General Public License for more details. |
|---|
| 13 | | - * |
|---|
| 14 | | - * You should have received a copy of the GNU General Public License |
|---|
| 15 | | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 16 | 5 | */ |
|---|
| 17 | 6 | |
|---|
| 18 | 7 | #include <linux/acpi_iort.h> |
|---|
| 8 | +#include <linux/pci.h> |
|---|
| 19 | 9 | #include <linux/msi.h> |
|---|
| 20 | 10 | #include <linux/of.h> |
|---|
| 21 | 11 | #include <linux/of_irq.h> |
|---|
| .. | .. |
|---|
| 159 | 149 | #ifdef CONFIG_ACPI |
|---|
| 160 | 150 | |
|---|
| 161 | 151 | static int __init |
|---|
| 162 | | -its_pci_msi_parse_madt(struct acpi_subtable_header *header, |
|---|
| 152 | +its_pci_msi_parse_madt(union acpi_subtable_headers *header, |
|---|
| 163 | 153 | const unsigned long end) |
|---|
| 164 | 154 | { |
|---|
| 165 | 155 | struct acpi_madt_generic_translator *its_entry; |
|---|