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>
/*******************************************************************************
* 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
};
/*******************************************************************************