staging: xgifb: main: make internal functions static
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 18 Apr 2011 19:14:08 +0000 (22:14 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Apr 2011 00:26:28 +0000 (17:26 -0700)
Make remaining non-static internal functions static.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/XGI_main_26.c

index 3cffc2091cde906fb2f8d64e561518a205d082d6..c0b2c7a29445fb21a2cba2a0676ce949c4f2e958 100644 (file)
@@ -388,7 +388,7 @@ static void XGIRegInit(struct vb_device_info *XGI_Pr, unsigned long BaseAddr)
 
 /* ------------ Interface for init & mode switching code ------------- */
 
-unsigned char XGIfb_query_VGA_config_space(
+static unsigned char XGIfb_query_VGA_config_space(
                struct xgi_hw_device_info *pXGIhw_ext, unsigned long offset,
                unsigned long set, unsigned long *value)
 {
@@ -426,7 +426,7 @@ unsigned char XGIfb_query_VGA_config_space(
 
 /* ------------------ Internal helper routines ----------------- */
 
-int XGIfb_GetXG21DefaultLVDSModeIdx(void)
+static int XGIfb_GetXG21DefaultLVDSModeIdx(void)
 {
 
        int found_mode = 0;