]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - include/linux/fbcon.h
fbdev: directly call fbcon_suspended/resumed
[mirror_ubuntu-jammy-kernel.git] / include / linux / fbcon.h
CommitLineData
6104c370
DV
1#ifndef _LINUX_FBCON_H
2#define _LINUX_FBCON_H
3
4#ifdef CONFIG_FRAMEBUFFER_CONSOLE
5void __init fb_console_init(void);
6void __exit fb_console_exit(void);
97b67986
DV
7int fbcon_fb_registered(struct fb_info *info);
8void fbcon_fb_unregistered(struct fb_info *info);
0e0f3250 9void fbcon_fb_unbind(struct fb_info *info);
50c50563
DV
10void fbcon_suspended(struct fb_info *info);
11void fbcon_resumed(struct fb_info *info);
6104c370 12#else
dfc8e916
AB
13static inline void fb_console_init(void) {}
14static inline void fb_console_exit(void) {}
97b67986
DV
15static inline int fbcon_fb_registered(struct fb_info *info) { return 0; }
16static inline void fbcon_fb_unregistered(struct fb_info *info) {}
0e0f3250 17static inline void fbcon_fb_unbind(struct fb_info *info) {}
50c50563
DV
18static inline void fbcon_suspended(struct fb_info *info) {}
19static inline void fbcon_resumed(struct fb_info *info) {}
6104c370
DV
20#endif
21
22#endif /* _LINUX_FBCON_H */