1 #ifndef _LINUX_FBCON_H 2 #define _LINUX_FBCON_H 3 4 #ifdef CONFIG_FRAMEBUFFER_CONSOLE 5 void __init fb_console_init(void); 6 void __exit fb_console_exit(void); 7 int fbcon_fb_registered(struct fb_info *info); 8 void fbcon_fb_unregistered(struct fb_info *info); 9 #else 10 static inline void fb_console_init(void) {} 11 static inline void fb_console_exit(void) {} 12 static inline int fbcon_fb_registered(struct fb_info *info) { return 0; } 13 static inline void fbcon_fb_unregistered(struct fb_info *info) {} 14 #endif 15 16 #endif /* _LINUX_FBCON_H */ 17