Commit f45f59d7 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman

staging: xgifb: delete unused register I/O functions

Delete unused register I/O functions.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7a60d772
...@@ -698,10 +698,6 @@ static int XGIfb_do_set_var(struct fb_var_screeninfo *var, int isactive, ...@@ -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_pre_setmode(void);
static void XGIfb_post_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 */ /* Chipset-dependent internal routines */
......
...@@ -385,19 +385,6 @@ static void XGIRegInit(struct vb_device_info *XGI_Pr, unsigned long BaseAddr) ...@@ -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 ------------- */ /* ------------ Interface for init & mode switching code ------------- */
unsigned char XGIfb_query_VGA_config_space( unsigned char XGIfb_query_VGA_config_space(
......
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