OSDN Git Service

i2c: thunderx: Replace pci_enable_msix()
authorJan Glauber <jglauber@cavium.com>
Tue, 21 Feb 2017 13:07:50 +0000 (14:07 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 23 Feb 2017 12:03:56 +0000 (13:03 +0100)
commit4c21541d8da17fbe94ecadbfc913d6dff3be7ca2
treea98ded9e179bcf1e36f66cafe8fad6573b6b4e7f
parent7999eecb7e5675c3c7c2981a3ba9be6fc8e2ee27
i2c: thunderx: Replace pci_enable_msix()

Using pci_alloc_irq_vectors() instead of the deprecated
pci_enable_msix() allows to remove the msix_entry from
struct octeon_i2c and thus to get rid of the config symbol check.

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-octeon-core.h
drivers/i2c/busses/i2c-thunderx-pcidrv.c