Skip to content

Commit e5a43ef

Browse files
kirankrishnappa-intelVudentz
authored andcommitted
Bluetooth: btintel_pcie: Fix warning reported by sparse
Fix sparse error. Fixes: c2b636b ("Bluetooth: btintel_pcie: Add support for PCIe transport") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202405100654.0djvoryZ-lkp@intel.com/ Signed-off-by: Kiran K <kiran.k@intel.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
1 parent e77f43d commit e5a43ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/bluetooth/btintel_pcie.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ struct btintel_pcie_causes_list {
670670
u8 cause_num;
671671
};
672672

673-
struct btintel_pcie_causes_list causes_list[] = {
673+
static struct btintel_pcie_causes_list causes_list[] = {
674674
{ BTINTEL_PCIE_MSIX_FH_INT_CAUSES_0, BTINTEL_PCIE_CSR_MSIX_FH_INT_MASK, 0x00 },
675675
{ BTINTEL_PCIE_MSIX_FH_INT_CAUSES_1, BTINTEL_PCIE_CSR_MSIX_FH_INT_MASK, 0x01 },
676676
{ BTINTEL_PCIE_MSIX_HW_INT_CAUSES_GP0, BTINTEL_PCIE_CSR_MSIX_HW_INT_MASK, 0x20 },

0 commit comments

Comments
 (0)