Skip to content

Commit 53121a7

Browse files
brglholtmann
authored andcommitted
Bluetooth: btmtksdio: add MODULE_DEVICE_TABLE()
This adds the missing MODULE_DEVICE_TABLE() for SDIO IDs. While certain platforms using this driver indeed have HW issues causing problems if the module is loaded too early - this should be handled from user-space by blacklisting it or delaying the loading. Signed-off-by: Bartosz Golaszewski <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
1 parent cf94da6 commit 53121a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/bluetooth/btmtksdio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ static const struct sdio_device_id btmtksdio_table[] = {
5757
.driver_data = (kernel_ulong_t)&mt7668_data },
5858
{ } /* Terminating entry */
5959
};
60+
MODULE_DEVICE_TABLE(sdio, btmtksdio_table);
6061

6162
#define MTK_REG_CHLPCR 0x4 /* W1S */
6263
#define C_INT_EN_SET BIT(0)

0 commit comments

Comments
 (0)