Really fix the 2.6.23 build.

Apologies to Martin Dauskardt -- I tossed his original patch due to 
coding style differences but in doing so, I missed a chunk.
origin
pizza 2007-10-16 14:07:27 +00:00
parent 9dcf27d046
commit ea03eec991
3 changed files with 4 additions and 3 deletions

View File

@ -41,7 +41,8 @@
* Intersil Corporation as part of PRISM(R) chipset product development.
*
* --------------------------------------------------------------------
- Support 2.6.23 kernels.
- Support 2.6.23 kernels. (With apologies to Martin Dauskardt for a
misapplied patch)
- Support "Intersil Americas USB 802.11b WLAN DEVICE" (Peter Levart)
- Tweaks to support Fedora 7 (Dan Williams)
- Support 2.6.22 kernels

View File

@ -275,7 +275,7 @@ static struct pci_driver prism2_pci_drv_id = {
static int __init prism2pci_init(void)
{
WLAN_LOG_NOTICE("%s Loaded\n", version);
return pci_module_init(&prism2_pci_drv_id);
return pci_register_driver(&prism2_pci_drv_id);
};
static void __exit prism2pci_cleanup(void)

View File

@ -420,7 +420,7 @@ static struct pci_driver prism2_plx_drv_id = {
static int __init prism2plx_init(void)
{
WLAN_LOG_NOTICE("%s Loaded\n", version);
return pci_module_init(&prism2_plx_drv_id);
return pci_register_driver(&prism2_plx_drv_id);
};
static void __exit prism2plx_cleanup(void)