mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
PCI: xilinx: Fix typo in function name
There's a typo in commite39758e0eain linux-next, which incorrectly spells "msi_desc_to_pci_sysdata()" as "msi_desc_to_pci_sys_data()" and causes build failure: > ../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration] Fixes:e39758e0ea"PCI: Use helper functions to access fields in struct msi_desc" Signed-off-by: Jiang Liu <[email protected]> Cc: [email protected] Cc: Mark Brown <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: Bjorn Helgaas <[email protected]> Cc: Michal Simek <[email protected]> Cc: Sören Brinkmann <[email protected]> Cc: Srikanth Thokala <[email protected]> Cc: Rob Herring <[email protected]> Cc: Yijing Wang <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
parent
4c2880b31c
commit
649953b5b8
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ static void xilinx_pcie_destroy_msi(unsigned int irq)
|
|||
|
||||
if (!test_bit(irq, msi_irq_in_use)) {
|
||||
msi = irq_get_msi_desc(irq);
|
||||
port = sys_to_pcie(msi_desc_to_pci_sys_data(msi));
|
||||
port = sys_to_pcie(msi_desc_to_pci_sysdata(msi));
|
||||
dev_err(port->dev, "Trying to free unused MSI#%d\n", irq);
|
||||
} else {
|
||||
clear_bit(irq, msi_irq_in_use);
|
||||
|
|
|
|||
Loading…
Reference in a new issue