2017-08-01 17:32:07 +02:00
|
|
|
#ifndef _LINUX_FBCON_H
|
|
|
|
|
#define _LINUX_FBCON_H
|
|
|
|
|
|
|
|
|
|
#ifdef CONFIG_FRAMEBUFFER_CONSOLE
|
|
|
|
|
void __init fb_console_init(void);
|
|
|
|
|
void __exit fb_console_exit(void);
|
2024-08-29 18:14:03 +02:00
|
|
|
int fbcon_modechange_possible(struct fb_info *info,
|
|
|
|
|
struct fb_var_screeninfo *var);
|
2017-08-01 17:32:07 +02:00
|
|
|
#else
|
2017-08-07 17:22:14 +02:00
|
|
|
static inline void fb_console_init(void) {}
|
|
|
|
|
static inline void fb_console_exit(void) {}
|
2024-08-29 18:14:03 +02:00
|
|
|
static inline int fbcon_modechange_possible(struct fb_info *info,
|
|
|
|
|
struct fb_var_screeninfo *var) { return 0; }
|
2017-08-01 17:32:07 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif /* _LINUX_FBCON_H */
|