Skip to content

Commit

Permalink
staging: wlags49_h2: remove use of __devexit_p
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed, remove it.

This also changes the syntax for the initialization of the wl_driver
struct to match convention.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent bfdc409 commit 1a65e20
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions drivers/staging/wlags49_h2/wl_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,13 @@ void wl_pci_dma_hcf_reclaim_rx( struct wl_private *lp );
/*******************************************************************************
* PCI module function registration
******************************************************************************/
static struct pci_driver wl_driver =
{
name: MODULE_NAME,
id_table: wl_pci_tbl,
probe: wl_pci_probe,
remove: __devexit_p(wl_pci_remove),
suspend: NULL,
resume: NULL,
static struct pci_driver wl_driver = {
.name = MODULE_NAME,
.id_table = wl_pci_tbl,
.probe = wl_pci_probe,
.remove = wl_pci_remove,
.suspend = NULL,
.resume = NULL
};

/*******************************************************************************
Expand Down

0 comments on commit 1a65e20

Please sign in to comment.