Skip to content
Snippets Groups Projects
Commit 9efcfd50 authored by Vignesh Raman's avatar Vignesh Raman Committed by Lucas De Marchi
Browse files

fixup! PCI/ASPM: pci_enable_link_state: Add argument to acquire bus lock


PCI: qcom: Fix compile error

Commit a2458d8f ("PCI/ASPM: pci_enable_link_state: Add argument
to acquire bus lock") has added an argument to acquire bus lock
in pci_enable_link_state, but qcom_pcie_enable_aspm calls it
without this argument, resulting in below build error.

drivers/pci/controller/dwc/pcie-qcom.c:973:9: error: too few arguments to function 'pci_enable_link_state'

This commit fixes the compilation error by passing the sem argument
to pci_enable_link_state in the qcom_pcie_enable_aspm function.

Signed-off-by: default avatarVignesh Raman <vignesh.raman@collabora.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231128042026.130442-1-vignesh.raman@collabora.com
parent b37e8e4b
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment