.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * linux/include/video/mmp_disp.h |
---|
3 | 4 | * Header file for Marvell MMP Display Controller |
---|
4 | 5 | * |
---|
5 | 6 | * Copyright (C) 2012 Marvell Technology Group Ltd. |
---|
6 | 7 | * Authors: Zhou Zhu <zzhu3@marvell.com> |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify it |
---|
9 | | - * under the terms of the GNU General Public License as published by the |
---|
10 | | - * Free Software Foundation; either version 2 of the License, or (at your |
---|
11 | | - * option) any later version. |
---|
12 | | - * |
---|
13 | | - * This program is distributed in the hope that it will be useful, but WITHOUT |
---|
14 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
15 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
---|
16 | | - * more details. |
---|
17 | | - * |
---|
18 | | - * You should have received a copy of the GNU General Public License along with |
---|
19 | | - * this program. If not, see <http://www.gnu.org/licenses/>. |
---|
20 | | - * |
---|
21 | 8 | */ |
---|
22 | 9 | |
---|
23 | 10 | #ifndef _MMP_DISP_H_ |
---|
.. | .. |
---|
244 | 231 | |
---|
245 | 232 | /* layers */ |
---|
246 | 233 | int overlay_num; |
---|
247 | | - struct mmp_overlay overlays[0]; |
---|
| 234 | + struct mmp_overlay overlays[]; |
---|
248 | 235 | }; |
---|
249 | 236 | |
---|
250 | 237 | extern struct mmp_path *mmp_get_path(const char *name); |
---|