[pci] Make driver PCI ID a property of the PCI device

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2011-02-12 01:11:57 +00:00
parent abb5590b29
commit 5bde349e55
45 changed files with 77 additions and 107 deletions

View File

@@ -1123,8 +1123,7 @@ static void atl1e_init_netdev(struct net_device *netdev, struct pci_device *pdev
* The OS initialization, configuring of the adapter private structure,
* and a hardware reset occur.
*/
static int atl1e_probe(struct pci_device *pdev,
const struct pci_device_id *ent __unused)
static int atl1e_probe(struct pci_device *pdev)
{
struct net_device *netdev;
struct atl1e_adapter *adapter = NULL;