hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/powerpc/include/asm/ps3stor.h
....@@ -1,21 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * PS3 Storage Devices
34 *
45 * Copyright (C) 2007 Sony Computer Entertainment Inc.
56 * Copyright 2007 Sony Corp.
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of the GNU General Public License as published
9
- * by the Free Software Foundation; version 2 of the License.
10
- *
11
- * This program is distributed in the hope that it will be useful, but
12
- * WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- * General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License along
17
- * with this program; if not, write to the Free Software Foundation, Inc.,
18
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
197 */
208
219 #ifndef _ASM_POWERPC_PS3STOR_H_
....@@ -51,7 +39,7 @@
5139 unsigned int num_regions;
5240 unsigned long accessible_regions;
5341 unsigned int region_idx; /* first accessible region */
54
- struct ps3_storage_region regions[0]; /* Must be last */
42
+ struct ps3_storage_region regions[]; /* Must be last */
5543 };
5644
5745 static inline struct ps3_storage_device *to_ps3_storage_device(struct device *dev)