LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-07-2007, 11:23 AM   #1
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 444

Rep: Reputation: 30
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?
 
Old 11-07-2007, 12:52 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
devfs removed from kernel JimBass Linux - Newbie 7 09-28-2005 09:38 AM
Can Kernel be removed? dolphans1 Mandriva 9 08-21-2004 12:48 AM
Kernel files removed Zi5 Red Hat 44 05-06-2004 09:56 PM
kernel files removed cbarbot Linux - Newbie 1 04-14-2004 01:05 PM
How do I removed the compiled kernel? jeeva Linux - General 6 01-24-2004 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration