| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * PS3 Storage Devices |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2007 Sony Computer Entertainment Inc. |
|---|
| 5 | 6 | * 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. |
|---|
| 19 | 7 | */ |
|---|
| 20 | 8 | |
|---|
| 21 | 9 | #ifndef _ASM_POWERPC_PS3STOR_H_ |
|---|
| .. | .. |
|---|
| 51 | 39 | unsigned int num_regions; |
|---|
| 52 | 40 | unsigned long accessible_regions; |
|---|
| 53 | 41 | 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 */ |
|---|
| 55 | 43 | }; |
|---|
| 56 | 44 | |
|---|
| 57 | 45 | static inline struct ps3_storage_device *to_ps3_storage_device(struct device *dev) |
|---|