Auto-updated using
perl -pi -0777 -e 's/static struct pci_driver (\w+) __pci_driver = {.*\.name\s*=\s*(\"\S+\").*\.probe\s*=\s*(\w+).*\.ids\s*=\s*(\w+).*\.class\s*=\s*(\w+).*?};/static struct pci_driver $1 =\n\tPCI_DRIVER ( $2, $4, $5 );\n\nBOOT_DRIVER ( $2, $3 );/ms' *.c
perl -pi -e 's/(PCI_DRIVER \(.*, )0 \);/${1}PCI_NO_CLASS );/' *.c
This commit is contained in:
@@ -831,11 +831,7 @@ PCI_ROM(0x8086, 0x5201, "eepro100-5201", "Intel EtherExpress PRO/100 Intelligent
|
||||
* 2003/03/17 gbaum */
|
||||
|
||||
|
||||
static struct pci_driver eepro100_driver __pci_driver = {
|
||||
.type = NIC_DRIVER,
|
||||
.name = "EEPRO100",
|
||||
.probe = eepro100_probe,
|
||||
.ids = eepro100_nics,
|
||||
.id_count = sizeof(eepro100_nics)/sizeof(eepro100_nics[0]),
|
||||
.class = 0
|
||||
};
|
||||
static struct pci_driver eepro100_driver =
|
||||
PCI_DRIVER ( "EEPRO100", eepro100_nics, PCI_NO_CLASS );
|
||||
|
||||
BOOT_DRIVER ( "EEPRO100", eepro100_probe );
|
||||
|
||||
Reference in New Issue
Block a user