From: Michael Ellerman Date: Thu, 22 Mar 2007 10:51:39 +0000 (+1100) Subject: MSI: Expand pci_msi_supported() X-Git-Tag: v2.6.22-rc1~1039^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1e2303dba021ee417c65a89e467a2b145ff9217;p=pandora-kernel.git MSI: Expand pci_msi_supported() pci_enable_msi() and pci_enable_msix() both search for the MSI/MSI-X capability, we can fold this into pci_msi_supported() by passing the type in. Update the code to match the comment for pci_msi_supported(). That is it returns 0 on success, and anything else indicates an error. Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed