| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Defines for Mobile High-Definition Link (MHL) interface |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Based on MHL driver for Android devices. |
|---|
| 8 | 9 | * 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. |
|---|
| 13 | 10 | */ |
|---|
| 14 | 11 | |
|---|
| 15 | 12 | #ifndef __MHL_H__ |
|---|
| .. | .. |
|---|
| 330 | 327 | struct { |
|---|
| 331 | 328 | u8 stream_id; |
|---|
| 332 | 329 | u8 pixel_format; |
|---|
| 333 | | - } __packed desc[0]; |
|---|
| 330 | + } __packed desc[]; |
|---|
| 334 | 331 | } __packed; |
|---|
| 335 | 332 | |
|---|
| 336 | 333 | struct mhl_burst_emsc_support { |
|---|
| 337 | 334 | struct mhl3_burst_header hdr; |
|---|
| 338 | 335 | u8 num_entries; |
|---|
| 339 | | - __be16 burst_id[0]; |
|---|
| 336 | + __be16 burst_id[]; |
|---|
| 340 | 337 | } __packed; |
|---|
| 341 | 338 | |
|---|
| 342 | 339 | struct mhl_burst_audio_descr { |
|---|