forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/video/fbdev/geode/gxfb.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2008 Andres Salomon <dilinger@debian.org>
34 *
45 * Geode GX2 header information
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
106 */
117 #ifndef _GXFB_H_
128 #define _GXFB_H_
....@@ -25,7 +21,6 @@
2521 void __iomem *dc_regs;
2622 void __iomem *vid_regs;
2723 void __iomem *gp_regs;
28
-#ifdef CONFIG_PM
2924 int powered_down;
3025
3126 /* register state, for power management functionality */
....@@ -40,7 +35,6 @@
4035 uint64_t fp[FP_REG_COUNT];
4136
4237 uint32_t pal[DC_PAL_COUNT];
43
-#endif
4438 };
4539
4640 unsigned int gx_frame_buffer_size(void);
....@@ -53,11 +47,8 @@
5347 void gx_configure_display(struct fb_info *info);
5448 int gx_blank_display(struct fb_info *info, int blank_mode);
5549
56
-#ifdef CONFIG_PM
5750 int gx_powerdown(struct fb_info *info);
5851 int gx_powerup(struct fb_info *info);
59
-#endif
60
-
6152
6253 /* Graphics Processor registers (table 6-23 from the data book) */
6354 enum gp_registers {