hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/video/fbdev/geode/lxfb_ops.c
....@@ -1,11 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* Geode LX framebuffer driver
23 *
34 * Copyright (C) 2006-2007, Advanced Micro Devices,Inc.
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
117 #include <linux/kernel.h>
....@@ -584,8 +580,6 @@
584580 return 0;
585581 }
586582
587
-#ifdef CONFIG_PM
588
-
589583 static void lx_save_regs(struct lxfb_par *par)
590584 {
591585 uint32_t filt;
....@@ -841,5 +835,3 @@
841835 par->powered_down = 0;
842836 return 0;
843837 }
844
-
845
-#endif