summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/XGI_main_26.c
diff options
context:
space:
mode:
authorRuslan Pisarev2011-07-21 10:59:11 +0200
committerGreg Kroah-Hartman2011-08-23 23:21:45 +0200
commit032abf7bf9ee3a1ca89dd9dd88b1a8cee5e56e63 (patch)
tree5dcf8d367379a6b886e3e4b7c8ef11729af79ebf /drivers/staging/xgifb/XGI_main_26.c
parentStaging: xgifb: Fixed up a errors "do not initialise statics to 0 or NULL" in... (diff)
downloadkernel-qcow2-linux-032abf7bf9ee3a1ca89dd9dd88b1a8cee5e56e63.tar.gz
kernel-qcow2-linux-032abf7bf9ee3a1ca89dd9dd88b1a8cee5e56e63.tar.xz
kernel-qcow2-linux-032abf7bf9ee3a1ca89dd9dd88b1a8cee5e56e63.zip
Staging: xgifb: Delete define XGIINITSTATIC in XGI_main_26.c and XGI_main.h
This is a patch to the XGI_main.h and XGI_main_26.c file that fixed up a define warrning 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/xgifb/XGI_main_26.c')
-rw-r--r--drivers/staging/xgifb/XGI_main_26.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c
index b6ee11fbca7e..df27dfed7560 100644
--- a/drivers/staging/xgifb/XGI_main_26.c
+++ b/drivers/staging/xgifb/XGI_main_26.c
@@ -1949,7 +1949,7 @@ static void XGIfb_get_VB_type(void)
}
}
-XGIINITSTATIC int __init XGIfb_setup(char *options)
+static int __init XGIfb_setup(char *options)
{
char *this_opt;
@@ -2543,7 +2543,7 @@ static struct pci_driver xgifb_driver = {
.remove = __devexit_p(xgifb_remove)
};
-XGIINITSTATIC int __init xgifb_init(void)
+static int __init xgifb_init(void)
{
char *option = NULL;