]> git.karo-electronics.de Git - linux-beck.git/commit
PCI/MSI: Add msi_setup_entry() to clean up MSI initialization
authorYijing Wang <wangyijing@huawei.com>
Tue, 8 Jul 2014 02:07:23 +0000 (10:07 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Jul 2014 20:42:07 +0000 (14:42 -0600)
commitd873b4d449202bfb70aa56fd2c64f68ec281dfe9
tree5170002983376c2adde63f4a48ab6225d6a6f43e
parent31ea5d4dfe21fb50276dcd70ce268e58d57eccb4
PCI/MSI: Add msi_setup_entry() to clean up MSI initialization

Move MSI entry stuff to a new function, msi_setup_entry(), to simplify
msi_capability_init() as MSI-X does.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi.c