[PATCH] Bluetooth: coredump: Do not export hci_devcd_rx() and hci_devcd_timeout()
From: Zijun Hu
Date: Thu Jul 09 2026 - 00:15:10 EST
Do not export both functions since they are only used internally
within the bluetooth module.
Signed-off-by: Zijun Hu <zijun.hu@xxxxxxxxxxxxxxxx>
---
net/bluetooth/coredump.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/bluetooth/coredump.c b/net/bluetooth/coredump.c
index 720cb79adf96..c0f027fab583 100644
--- a/net/bluetooth/coredump.c
+++ b/net/bluetooth/coredump.c
@@ -390,7 +390,6 @@ void hci_devcd_rx(struct work_struct *work)
hci_dev_unlock(hdev);
}
}
-EXPORT_SYMBOL(hci_devcd_rx);
void hci_devcd_timeout(struct work_struct *work)
{
@@ -416,7 +415,6 @@ void hci_devcd_timeout(struct work_struct *work)
hci_dev_unlock(hdev);
}
-EXPORT_SYMBOL(hci_devcd_timeout);
int hci_devcd_register(struct hci_dev *hdev, coredump_t coredump,
dmp_hdr_t dmp_hdr, notify_change_t notify_change)
---
base-commit: ca75417ab1793f23b3ddc91869f0809b593d6954
change-id: 20260708-unexport_symbol-7649c4f1846d
Best regards,
--
Zijun Hu <zijun.hu@xxxxxxxxxxxxxxxx>