forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/video/fbdev/geode/suspend_gx.c
....@@ -1,11 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2007 Advanced Micro Devices, Inc.
34 * Copyright (C) 2008 Andres Salomon <dilinger@debian.org>
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms of the GNU General Public License as published by the
7
- * Free Software Foundation; either version 2 of the License, or (at your
8
- * option) any later version.
95 */
106 #include <linux/fb.h>
117 #include <asm/io.h>
....@@ -14,8 +10,6 @@
1410 #include <asm/delay.h>
1511
1612 #include "gxfb.h"
17
-
18
-#ifdef CONFIG_PM
1913
2014 static void gx_save_regs(struct gxfb_par *par)
2115 {
....@@ -263,5 +257,3 @@
263257 par->powered_down = 0;
264258 return 0;
265259 }
266
-
267
-#endif