.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * cb710/cb710.h |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright by Michał Mirosław, 2008-2009 |
---|
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 | #ifndef LINUX_CB710_DRIVER_H |
---|
11 | 8 | #define LINUX_CB710_DRIVER_H |
---|
.. | .. |
---|
39 | 36 | unsigned slot_mask; |
---|
40 | 37 | unsigned slots; |
---|
41 | 38 | spinlock_t irq_lock; |
---|
42 | | - struct cb710_slot slot[0]; |
---|
| 39 | + struct cb710_slot slot[]; |
---|
43 | 40 | }; |
---|
44 | 41 | |
---|
45 | 42 | /* NOTE: cb710_chip.slots is modified only during device init/exit and |
---|
.. | .. |
---|
129 | 126 | * cb710/sgbuf2.h |
---|
130 | 127 | * |
---|
131 | 128 | * Copyright by Michał Mirosław, 2008-2009 |
---|
132 | | - * |
---|
133 | | - * This program is free software; you can redistribute it and/or modify |
---|
134 | | - * it under the terms of the GNU General Public License version 2 as |
---|
135 | | - * published by the Free Software Foundation. |
---|
136 | 129 | */ |
---|
137 | 130 | #ifndef LINUX_CB710_SG_H |
---|
138 | 131 | #define LINUX_CB710_SG_H |
---|