Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
17 lines
492 B
C
17 lines
492 B
C
#ifndef _LINUX_FBCON_H
|
|
#define _LINUX_FBCON_H
|
|
|
|
#ifdef CONFIG_FRAMEBUFFER_CONSOLE
|
|
void __init fb_console_init(void);
|
|
void __exit fb_console_exit(void);
|
|
int fbcon_modechange_possible(struct fb_info *info,
|
|
struct fb_var_screeninfo *var);
|
|
#else
|
|
static inline void fb_console_init(void) {}
|
|
static inline void fb_console_exit(void) {}
|
|
static inline int fbcon_modechange_possible(struct fb_info *info,
|
|
struct fb_var_screeninfo *var) { return 0; }
|
|
#endif
|
|
|
|
#endif /* _LINUX_FBCON_H */
|