hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/include/linux/cb710.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * cb710/cb710.h
34 *
45 * 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.
96 */
107 #ifndef LINUX_CB710_DRIVER_H
118 #define LINUX_CB710_DRIVER_H
....@@ -39,7 +36,7 @@
3936 unsigned slot_mask;
4037 unsigned slots;
4138 spinlock_t irq_lock;
42
- struct cb710_slot slot[0];
39
+ struct cb710_slot slot[];
4340 };
4441
4542 /* NOTE: cb710_chip.slots is modified only during device init/exit and
....@@ -129,10 +126,6 @@
129126 * cb710/sgbuf2.h
130127 *
131128 * 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.
136129 */
137130 #ifndef LINUX_CB710_SG_H
138131 #define LINUX_CB710_SG_H