mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-12 08:26:38 -04:00
staging: xgifb: assume the default video mode also when module
The same default video mode should be assumed regardless if the driver is a module or not. This won't change the current behaviour, but it will simplify further changes. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a952cc9057
commit
69a1869861
@@ -364,12 +364,7 @@ static struct _XGIbios_mode {
|
||||
};
|
||||
|
||||
/* mode-related variables */
|
||||
#ifdef MODULE
|
||||
static int xgifb_mode_idx = 1;
|
||||
#else
|
||||
static int xgifb_mode_idx = -1; /* Use a default mode if we are
|
||||
inside the kernel */
|
||||
#endif
|
||||
static int xgifb_mode_idx = -1;
|
||||
static u8 XGIfb_mode_no;
|
||||
static u8 XGIfb_rate_idx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user