.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Definitions for PCDP-defined console devices |
---|
3 | 4 | * |
---|
.. | .. |
---|
7 | 8 | * (c) Copyright 2002, 2004 Hewlett-Packard Development Company, L.P. |
---|
8 | 9 | * Khalid Aziz <khalid.aziz@hp.com> |
---|
9 | 10 | * Bjorn Helgaas <bjorn.helgaas@hp.com> |
---|
10 | | - * |
---|
11 | | - * This program is free software; you can redistribute it and/or modify |
---|
12 | | - * it under the terms of the GNU General Public License version 2 as |
---|
13 | | - * published by the Free Software Foundation. |
---|
14 | 11 | */ |
---|
15 | 12 | |
---|
16 | 13 | #define PCDP_CONSOLE 0 |
---|
.. | .. |
---|
106 | 103 | u8 creator_id[4]; |
---|
107 | 104 | u32 creator_rev; |
---|
108 | 105 | u32 num_uarts; |
---|
109 | | - struct pcdp_uart uart[0]; /* actual size is num_uarts */ |
---|
| 106 | + struct pcdp_uart uart[]; /* actual size is num_uarts */ |
---|
110 | 107 | /* remainder of table is pcdp_device structures */ |
---|
111 | 108 | } __attribute__((packed)); |
---|