aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/XGI_main.h
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2011-08-29 23:14:20 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-06 11:41:20 -0700
commit87c8b8b3466b7e5977701b59dc92a1b9537a46e0 (patch)
tree4b815ea03b369c85c4298fbfca0c56b89acaff9a /drivers/staging/xgifb/XGI_main.h
parentstaging: xgifb: delete duplicated code (diff)
downloadlinux-dev-87c8b8b3466b7e5977701b59dc92a1b9537a46e0.tar.xz
linux-dev-87c8b8b3466b7e5977701b59dc92a1b9537a46e0.zip
staging: xgifb: delete "off" option handling
It's possible to disable the built-in xgifb driver with the kernel command line option: video=xgifb:off This is already handled by the generic framebuffer layer (fb_get_options() will return TRUE resulting in init failure), so no need to process the option in the driver. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb/XGI_main.h')
-rw-r--r--drivers/staging/xgifb/XGI_main.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/XGI_main.h b/drivers/staging/xgifb/XGI_main.h
index 08f62e1e2748..b65ed6e6b819 100644
--- a/drivers/staging/xgifb/XGI_main.h
+++ b/drivers/staging/xgifb/XGI_main.h
@@ -167,7 +167,6 @@ static u32 pseudo_palette[17];
/* display status */
-static int XGIfb_off;
static int XGIfb_crt1off;
static int XGIfb_forcecrt1 = -1;
static int XGIfb_userom ;