| .. | .. |
|---|
| 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> |
|---|
| .. | .. |
|---|
| 117 | 106 | |
|---|
| 118 | 107 | #ifdef CONFIG_ACPI |
|---|
| 119 | 108 | static int __init |
|---|
| 120 | | -its_pmsi_parse_madt(struct acpi_subtable_header *header, |
|---|
| 109 | +its_pmsi_parse_madt(union acpi_subtable_headers *header, |
|---|
| 121 | 110 | const unsigned long end) |
|---|
| 122 | 111 | { |
|---|
| 123 | 112 | struct acpi_madt_generic_translator *its_entry; |
|---|