diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2011-04-18 22:14:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-25 17:26:27 -0700 |
commit | f45f59d76303d9a60dd19b37c032bdb2a6a32cfa (patch) | |
tree | 5a2d8110792868086398e213e2a6c87af30ef623 | |
parent | 7a60d7728df58b29e94e7884e7f50f57e7d9394e (diff) |
staging: xgifb: delete unused register I/O functions
Delete unused register I/O functions.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/xgifb/XGI_main.h | 4 | ||||
-rw-r--r-- | drivers/staging/xgifb/XGI_main_26.c | 13 |
2 files changed, 0 insertions, 17 deletions
diff --git a/drivers/staging/xgifb/XGI_main.h b/drivers/staging/xgifb/XGI_main.h index 560e2de80efa..c9764a75a03e 100644 --- a/drivers/staging/xgifb/XGI_main.h +++ b/drivers/staging/xgifb/XGI_main.h @@ -698,10 +698,6 @@ static int XGIfb_do_set_var(struct fb_var_screeninfo *var, int isactive, static void XGIfb_pre_setmode(void); static void XGIfb_post_setmode(void); -/* Internal hardware access routines */ -void XGIfb_set_reg4(u16 port, unsigned long data); -u32 XGIfb_get_reg3(u16 port); - /* Chipset-dependent internal routines */ diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 3112a2502873..8de6829b415a 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -385,19 +385,6 @@ static void XGIRegInit(struct vb_device_info *XGI_Pr, unsigned long BaseAddr) } -void XGIfb_set_reg4(u16 port, unsigned long data) -{ - outl((u32)(data & 0xffffffff), port); -} - -u32 XGIfb_get_reg3(u16 port) -{ - u32 data; - - data = inl(port); - return data; -} - /* ------------ Interface for init & mode switching code ------------- */ unsigned char XGIfb_query_VGA_config_space( |