forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/gpu/drm/gma500/psb_lid.c
....@@ -1,28 +1,16 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /**************************************************************************
23 * Copyright (c) 2007, Intel Corporation.
3
- *
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.
164 *
175 * Authors: Thomas Hellstrom <thomas-at-tungstengraphics-dot-com>
186 **************************************************************************/
197
20
-#include <drm/drmP.h>
21
-#include "psb_drv.h"
22
-#include "psb_reg.h"
23
-#include "psb_intel_reg.h"
248 #include <linux/spinlock.h>
259
10
+#include "psb_drv.h"
11
+#include "psb_intel_reg.h"
12
+#include "psb_reg.h"
13
+
2614 static void psb_lid_timer_func(struct timer_list *t)
2715 {
2816 struct drm_psb_private *dev_priv = from_timer(dev_priv, t, lid_timer);