pci_module_init removed from kernel!
I just want to compile my Ralink driver, but the function has since been removed from the kernel source. Is there a patch out that fixes this now missing function?
|
The function has been obsoleted by pci_register_driver() for awhile now. They probably just finally removed it.
The fix is simple. In the affected source file, change all occurrences of pci_module_init() to pci_register_driver(), or add this line at the beginning: Code:
#define pci_module_init pci_register_driver |
All times are GMT -5. The time now is 01:04 PM. |