forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpu/drm/gma500/psb_device.c
....@@ -1,32 +1,20 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /**************************************************************************
23 * Copyright (c) 2011, Intel Corporation.
34 * All Rights Reserved.
45 *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms and conditions of the GNU General Public License,
7
- * version 2, as published by the Free Software Foundation.
8
- *
9
- * This program is distributed in the hope it will be useful, but WITHOUT
10
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12
- * more details.
13
- *
14
- * You should have received a copy of the GNU General Public License along with
15
- * this program; if not, write to the Free Software Foundation, Inc.,
16
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
17
- *
186 **************************************************************************/
197
208 #include <linux/backlight.h>
21
-#include <drm/drmP.h>
9
+
2210 #include <drm/drm.h>
23
-#include <drm/gma_drm.h>
24
-#include "psb_drv.h"
25
-#include "psb_reg.h"
26
-#include "psb_intel_reg.h"
11
+
12
+#include "gma_device.h"
2713 #include "intel_bios.h"
2814 #include "psb_device.h"
29
-#include "gma_device.h"
15
+#include "psb_drv.h"
16
+#include "psb_intel_reg.h"
17
+#include "psb_reg.h"
3018
3119 static int psb_output_init(struct drm_device *dev)
3220 {