diff options
author | Ruslan Pisarev <ruslan@rpisarev.org.ua> | 2011-07-21 11:59:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-23 14:21:45 -0700 |
commit | 032abf7bf9ee3a1ca89dd9dd88b1a8cee5e56e63 (patch) | |
tree | 5dcf8d367379a6b886e3e4b7c8ef11729af79ebf /drivers/staging | |
parent | e684f4682d49e4815d2b6893a1862f183d755fb2 (diff) | |
download | linux-stable-032abf7bf9ee3a1ca89dd9dd88b1a8cee5e56e63.tar.gz linux-stable-032abf7bf9ee3a1ca89dd9dd88b1a8cee5e56e63.tar.bz2 linux-stable-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')
-rw-r--r-- | drivers/staging/xgifb/XGI_main.h | 1 | ||||
-rw-r--r-- | drivers/staging/xgifb/XGI_main_26.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/xgifb/XGI_main.h b/drivers/staging/xgifb/XGI_main.h index 856c9f18c4ce..543ef2c363ee 100644 --- a/drivers/staging/xgifb/XGI_main.h +++ b/drivers/staging/xgifb/XGI_main.h @@ -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, 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; |