Commit 0d556f1f authored by Thomas Zimmermann's avatar Thomas Zimmermann

video: Remove trailing whitespaces

Fix trailing whitespaces. No functional changes.
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarHelge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230417125651.25126-11-tzimmermann@suse.de
parent 910994c0
...@@ -282,7 +282,7 @@ static void sticon_init(struct vc_data *c, int init) ...@@ -282,7 +282,7 @@ static void sticon_init(struct vc_data *c, int init)
vc_cols = sti_onscreen_x(sti) / sti->font->width; vc_cols = sti_onscreen_x(sti) / sti->font->width;
vc_rows = sti_onscreen_y(sti) / sti->font->height; vc_rows = sti_onscreen_y(sti) / sti->font->height;
c->vc_can_do_color = 1; c->vc_can_do_color = 1;
if (init) { if (init) {
c->vc_cols = vc_cols; c->vc_cols = vc_cols;
c->vc_rows = vc_rows; c->vc_rows = vc_rows;
...@@ -374,7 +374,7 @@ static const struct consw sti_con = { ...@@ -374,7 +374,7 @@ static const struct consw sti_con = {
.con_font_set = sticon_font_set, .con_font_set = sticon_font_set,
.con_font_default = sticon_font_default, .con_font_default = sticon_font_default,
.con_build_attr = sticon_build_attr, .con_build_attr = sticon_build_attr,
.con_invert_region = sticon_invert_region, .con_invert_region = sticon_invert_region,
}; };
......
This diff is collapsed.
...@@ -27,11 +27,11 @@ ...@@ -27,11 +27,11 @@
* *
* Probably the best solution to all this is have the generic code manage * Probably the best solution to all this is have the generic code manage
* the screen buffer and a kernel thread to call STI occasionally. * the screen buffer and a kernel thread to call STI occasionally.
* *
* Luckily, the frame buffer guys have the same problem so we can just wait * Luckily, the frame buffer guys have the same problem so we can just wait
* for them to fix it and steal their solution. prumpf * for them to fix it and steal their solution. prumpf
*/ */
#include <asm/io.h> #include <asm/io.h>
#define STI_WAIT 1 #define STI_WAIT 1
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
/* STI function configuration structs */ /* STI function configuration structs */
typedef union region { typedef union region {
struct { struct {
u32 offset : 14; /* offset in 4kbyte page */ u32 offset : 14; /* offset in 4kbyte page */
u32 sys_only : 1; /* don't map to user space */ u32 sys_only : 1; /* don't map to user space */
u32 cache : 1; /* map to data cache */ u32 cache : 1; /* map to data cache */
...@@ -154,7 +154,7 @@ struct sti_conf_inptr { ...@@ -154,7 +154,7 @@ struct sti_conf_inptr {
}; };
struct sti_conf_outptr_ext { struct sti_conf_outptr_ext {
u32 crt_config[3]; /* hardware specific X11/OGL information */ u32 crt_config[3]; /* hardware specific X11/OGL information */
u32 crt_hdw[3]; u32 crt_hdw[3];
u32 future_ptr; u32 future_ptr;
}; };
...@@ -211,7 +211,7 @@ struct sti_rom { ...@@ -211,7 +211,7 @@ struct sti_rom {
u32 set_cm_entry; u32 set_cm_entry;
u32 dma_ctrl; u32 dma_ctrl;
u8 res040[7 * 4]; u8 res040[7 * 4];
u32 init_graph_addr; u32 init_graph_addr;
u32 state_mgmt_addr; u32 state_mgmt_addr;
u32 font_unp_addr; u32 font_unp_addr;
...@@ -271,7 +271,7 @@ struct sti_font_flags { ...@@ -271,7 +271,7 @@ struct sti_font_flags {
u32 pad : 30; /* pad to word boundary */ u32 pad : 30; /* pad to word boundary */
u32 future_ptr; /* pointer to future data */ u32 future_ptr; /* pointer to future data */
}; };
struct sti_font_outptr { struct sti_font_outptr {
s32 errno; /* error number on failure */ s32 errno; /* error number on failure */
u32 future_ptr; /* pointer to future data */ u32 future_ptr; /* pointer to future data */
...@@ -338,7 +338,7 @@ struct sti_all_data { ...@@ -338,7 +338,7 @@ struct sti_all_data {
struct sti_struct { struct sti_struct {
spinlock_t lock; spinlock_t lock;
/* char **mon_strings; */ /* char **mon_strings; */
int sti_mem_request; int sti_mem_request;
u32 graphics_id[2]; u32 graphics_id[2];
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment