diff options
| author | Michael Brown | 2011-02-12 02:11:57 +0100 |
|---|---|---|
| committer | Michael Brown | 2011-02-17 02:25:12 +0100 |
| commit | 5bde349e55640b2d21fbe0f4f53edabe6878eb91 (patch) | |
| tree | 6e99ca19a9ebfe68ddb06f353d06154651d1f635 /src/drivers/infiniband/hermon.c | |
| parent | [pci] Replace pci_max_bus() with pci_num_bus() (diff) | |
| download | ipxe-5bde349e55640b2d21fbe0f4f53edabe6878eb91.tar.gz ipxe-5bde349e55640b2d21fbe0f4f53edabe6878eb91.tar.xz ipxe-5bde349e55640b2d21fbe0f4f53edabe6878eb91.zip | |
[pci] Make driver PCI ID a property of the PCI device
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband/hermon.c')
| -rw-r--r-- | src/drivers/infiniband/hermon.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/infiniband/hermon.c b/src/drivers/infiniband/hermon.c index a67c67871..011892f2a 100644 --- a/src/drivers/infiniband/hermon.c +++ b/src/drivers/infiniband/hermon.c @@ -3332,8 +3332,7 @@ static void hermon_reset ( struct hermon *hermon, * @v id PCI ID * @ret rc Return status code */ -static int hermon_probe ( struct pci_device *pci, - const struct pci_device_id *id __unused ) { +static int hermon_probe ( struct pci_device *pci ) { struct hermon *hermon; struct ib_device *ibdev; struct net_device *netdev; |
