forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/ethernet/toshiba/spider_net.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Network device driver for Cell Processor-Based Blade and Celleb platform
34 *
....@@ -6,20 +7,6 @@
67 *
78 * Authors : Utz Bacher <utz.bacher@de.ibm.com>
89 * Jens Osterkamp <Jens.Osterkamp@de.ibm.com>
9
- *
10
- * This program is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License as published by
12
- * the Free Software Foundation; either version 2, or (at your option)
13
- * any later version.
14
- *
15
- * This program is distributed in the hope that it will be useful,
16
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
- * GNU General Public License for more details.
19
- *
20
- * You should have received a copy of the GNU General Public License
21
- * along with this program; if not, write to the Free Software
22
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
2310 */
2411
2512 #ifndef _SPIDER_NET_H
....@@ -483,7 +470,7 @@
483470 struct spider_net_extra_stats spider_stats;
484471
485472 /* Must be last item in struct */
486
- struct spider_net_descr darray[0];
473
+ struct spider_net_descr darray[];
487474 };
488475
489476 #endif