]> asedeno.scripts.mit.edu Git - linux.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)
commit3680b1f655993e1be5a2063d00eae92532abc322
tree8884a64e43563d1a537a11ec8523a4ba538121c1
parent4244de1c64ded7f5438717bdce3fa074efd20efb
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