Commit 53121a7c authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Marcel Holtmann

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: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent cf94da6f
...@@ -57,6 +57,7 @@ static const struct sdio_device_id btmtksdio_table[] = { ...@@ -57,6 +57,7 @@ static const struct sdio_device_id btmtksdio_table[] = {
.driver_data = (kernel_ulong_t)&mt7668_data }, .driver_data = (kernel_ulong_t)&mt7668_data },
{ } /* Terminating entry */ { } /* Terminating entry */
}; };
MODULE_DEVICE_TABLE(sdio, btmtksdio_table);
#define MTK_REG_CHLPCR 0x4 /* W1S */ #define MTK_REG_CHLPCR 0x4 /* W1S */
#define C_INT_EN_SET BIT(0) #define C_INT_EN_SET BIT(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment