hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/include/drm/bridge/mhl.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Defines for Mobile High-Definition Link (MHL) interface
34 *
....@@ -6,10 +7,6 @@
67 *
78 * Based on MHL driver for Android devices.
89 * Copyright (C) 2013-2014 Silicon Image, Inc.
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 version 2 as
12
- * published by the Free Software Foundation.
1310 */
1411
1512 #ifndef __MHL_H__
....@@ -330,13 +327,13 @@
330327 struct {
331328 u8 stream_id;
332329 u8 pixel_format;
333
- } __packed desc[0];
330
+ } __packed desc[];
334331 } __packed;
335332
336333 struct mhl_burst_emsc_support {
337334 struct mhl3_burst_header hdr;
338335 u8 num_entries;
339
- __be16 burst_id[0];
336
+ __be16 burst_id[];
340337 } __packed;
341338
342339 struct mhl_burst_audio_descr {