Skip to content

Commit

Permalink
Staging: xgifb: Delete define XGIINITSTATIC in XGI_main_26.c and XGI_…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Ruslan Pisarev authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent e684f46 commit 032abf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/staging/xgifb/XGI_main.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 032abf7

Please sign in to comment.