hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/drivers/gpu/drm/gma500/intel_bios.h
....@@ -1,29 +1,15 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2006 Intel Corporation
34 *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms and conditions of the GNU General Public License,
6
- * version 2, as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope it will be useful, but WITHOUT
9
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
- * more details.
12
- *
13
- * You should have received a copy of the GNU General Public License along with
14
- * this program; if not, write to the Free Software Foundation, Inc.,
15
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
16
- *
175 * Authors:
186 * Eric Anholt <eric@anholt.net>
19
- *
207 */
218
229 #ifndef _INTEL_BIOS_H_
2310 #define _INTEL_BIOS_H_
2411
25
-#include <drm/drmP.h>
26
-#include <drm/drm_dp_helper.h>
12
+struct drm_device;
2713
2814 struct vbt_header {
2915 u8 signature[20]; /**< Always starts with 'VBT$' */
....@@ -241,7 +227,7 @@
241227 * number = (block_size - sizeof(bdb_general_definitions))/
242228 * sizeof(child_device_config);
243229 */
244
- struct child_device_config devices[0];
230
+ struct child_device_config devices[];
245231 };
246232
247233 struct bdb_lvds_options {