diff options
author | Ruslan Pisarev <ruslan@rpisarev.org.ua> | 2011-07-21 11:57:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-23 14:21:44 -0700 |
commit | 44c4ec78c901f7ce85c64f074ca12828c1301d3f (patch) | |
tree | f8bd466ba4ce9cdd0d6156391a7e15cd23e0b286 /drivers/staging | |
parent | 7a27b042f9cf6bd6e60c236a55d7a71a64287a84 (diff) | |
download | linux-stable-44c4ec78c901f7ce85c64f074ca12828c1301d3f.tar.gz linux-stable-44c4ec78c901f7ce85c64f074ca12828c1301d3f.tar.bz2 linux-stable-44c4ec78c901f7ce85c64f074ca12828c1301d3f.zip |
Staging: xgifb: Fixed up a errors "do not initialise statics to 0 or NULL" in XGI_main.h
This is a patch to the XGI_main.h file that fixed up a errors "do not initialise statics to 0 or NULL" found by the checkpatch.pl tools.
Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/xgifb/XGI_main.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/xgifb/XGI_main.h b/drivers/staging/xgifb/XGI_main.h index f6cd22d79630..856c9f18c4ce 100644 --- a/drivers/staging/xgifb/XGI_main.h +++ b/drivers/staging/xgifb/XGI_main.h @@ -268,28 +268,28 @@ static u32 pseudo_palette[17]; /* display status */ -static int XGIfb_off = 0; -static int XGIfb_crt1off = 0; +static int XGIfb_off; +static int XGIfb_crt1off; static int XGIfb_forcecrt1 = -1; -static int XGIfb_userom = 0; +static int XGIfb_userom ; /*static int XGIfb_useoem = -1; */ /* global flags */ static int XGIfb_registered; -static int XGIfb_tvmode = 0; -static int XGIfb_pdc = 0; -static int enable_dstn = 0; +static int XGIfb_tvmode; +static int XGIfb_pdc; +static int enable_dstn; static int XGIfb_ypan = -1; -static int XGIfb_CRT2_write_enable = 0; +static int XGIfb_CRT2_write_enable; /* TW: CRT2 type (for overriding autodetection) */ static int XGIfb_crt2type = -1; /* PR: Tv plug type (for overriding autodetection) */ static int XGIfb_tvplug = -1; -static unsigned char XGIfb_detectedpdc = 0; +static unsigned char XGIfb_detectedpdc; static unsigned char XGIfb_detectedlcda = 0xff; @@ -483,8 +483,8 @@ static int xgifb_mode_idx = 1; static int xgifb_mode_idx = -1; /* Use a default mode if we are inside the kernel */ #endif -static u8 XGIfb_mode_no = 0; -static u8 XGIfb_rate_idx = 0; +static u8 XGIfb_mode_no; +static u8 XGIfb_rate_idx; /* TW: CR36 evaluation */ static const unsigned short XGI300paneltype[] = { |