]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: convert to pci_alloc_irq_vectors
authorChristoph Hellwig <hch@lst.de>
Tue, 11 Apr 2017 11:01:25 +0000 (13:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Apr 2017 15:16:03 +0000 (11:16 -0400)
commit7f79425044c0fff3a1972991e476b1c88874c92b
tree8884a64e43563d1a537a11ec8523a4ba538121c1
parent2eb5a089008e2ab11c23d8581870b6e96083e870
mlxsw: convert to pci_alloc_irq_vectors

Trivial conversion as only one vector is supported, but at least we
lose the useless msix_entry member in the per-device structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Tested-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/pci.c