diff options
Diffstat (limited to 'include/linux/console.h')
| -rw-r--r-- | include/linux/console.h | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/include/linux/console.h b/include/linux/console.h index ea731af2451e..98c8615dc300 100644 --- a/include/linux/console.h +++ b/include/linux/console.h @@ -47,7 +47,7 @@ struct consw {  	int	(*con_font_copy)(struct vc_data *, int);  	int     (*con_resize)(struct vc_data *, unsigned int, unsigned int,  			       unsigned int); -	int	(*con_set_palette)(struct vc_data *, unsigned char *); +	int	(*con_set_palette)(struct vc_data *, const unsigned char *);  	int	(*con_scrolldelta)(struct vc_data *, int);  	int	(*con_set_origin)(struct vc_data *);  	void	(*con_save_screen)(struct vc_data *); @@ -191,6 +191,8 @@ void vcs_remove_sysfs(int index);  #ifdef CONFIG_VGA_CONSOLE  extern bool vgacon_text_force(void); +#else +static inline bool vgacon_text_force(void) { return false; }  #endif  #endif /* _LINUX_CONSOLE_H */ |