aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlags49_h2
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:19:34 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 13:54:04 -0800
commit1a65e204961969fa967a9aed6e8bab5d9ac66717 (patch)
tree22c85ba7e320a0d6d405169dda4a636ac1a554f4 /drivers/staging/wlags49_h2
parentstaging: wlags49_h2: ap_h2.c: fixes spaces-before-tabs problems (diff)
downloadlinux-dev-1a65e204961969fa967a9aed6e8bab5d9ac66717.tar.xz
linux-dev-1a65e204961969fa967a9aed6e8bab5d9ac66717.zip
staging: wlags49_h2: remove use of __devexit_p
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>
Diffstat (limited to 'drivers/staging/wlags49_h2')
-rw-r--r--drivers/staging/wlags49_h2/wl_pci.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/staging/wlags49_h2/wl_pci.c b/drivers/staging/wlags49_h2/wl_pci.c
index a09c3ac793a2..687b29895d45 100644
--- a/drivers/staging/wlags49_h2/wl_pci.c
+++ b/drivers/staging/wlags49_h2/wl_pci.c
@@ -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
};
/*******************************************************************************