hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/include/video/mmp_disp.h
....@@ -1,23 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * linux/include/video/mmp_disp.h
34 * Header file for Marvell MMP Display Controller
45 *
56 * Copyright (C) 2012 Marvell Technology Group Ltd.
67 * 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
- *
218 */
229
2310 #ifndef _MMP_DISP_H_
....@@ -244,7 +231,7 @@
244231
245232 /* layers */
246233 int overlay_num;
247
- struct mmp_overlay overlays[0];
234
+ struct mmp_overlay overlays[];
248235 };
249236
250237 extern struct mmp_path *mmp_get_path(const char *name);