]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Staging: xgifb: Delete define XGIINITSTATIC in XGI_main_26.c and XGI_main.h
authorRuslan Pisarev <ruslan@rpisarev.org.ua>
Thu, 21 Jul 2011 08:59:11 +0000 (11:59 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 21:21:45 +0000 (14:21 -0700)
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>
drivers/staging/xgifb/XGI_main.h
drivers/staging/xgifb/XGI_main_26.c

index 856c9f18c4ce14fbf4433733b6e6fc2f7460a7d8..543ef2c363eed45a6ceb21c1e3ec32aa793a08fb 100644 (file)
@@ -41,7 +41,6 @@
 
 #define XGI_IOTYPE1 void __iomem
 #define XGI_IOTYPE2 __iomem
-#define XGIINITSTATIC static
 
 static DEFINE_PCI_DEVICE_TABLE(xgifb_pci_table) = {
        {PCI_VENDOR_ID_XG, PCI_DEVICE_ID_XG_20, PCI_ANY_ID, PCI_ANY_ID,
index b6ee11fbca7ec5bdfcacfa8f43dad85bd6ec3cdf..df27dfed7560456343d638bddace64a73aa192f0 100644 (file)
@@ -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;