linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bluetooth: btmtksdio: add MODULE_DEVICE_TABLE()
@ 2019-11-07  9:46 Bartosz Golaszewski
  2019-11-07 14:17 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Bartosz Golaszewski @ 2019-11-07  9:46 UTC (permalink / raw)
  To: Marcel Holtmann, Johan Hedberg, Matthias Brugger
  Cc: linux-bluetooth, linux-arm-kernel, linux-mediatek, linux-kernel,
	Bartosz Golaszewski

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

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 <bgolaszewski@baylibre.com>
---
 drivers/bluetooth/btmtksdio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index 813338288453..519788c442ca 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -57,6 +57,7 @@ static const struct sdio_device_id btmtksdio_table[] = {
 	 .driver_data = (kernel_ulong_t)&mt7668_data },
 	{ }	/* Terminating entry */
 };
+MODULE_DEVICE_TABLE(sdio, btmtksdio_table);
 
 #define MTK_REG_CHLPCR		0x4	/* W1S */
 #define C_INT_EN_SET		BIT(0)
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] bluetooth: btmtksdio: add MODULE_DEVICE_TABLE()
  2019-11-07  9:46 [PATCH] bluetooth: btmtksdio: add MODULE_DEVICE_TABLE() Bartosz Golaszewski
@ 2019-11-07 14:17 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2019-11-07 14:17 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Johan Hedberg, Matthias Brugger, Bluez mailing list,
	linux-arm-kernel, linux-mediatek, linux-kernel,
	Bartosz Golaszewski

Hi Bartosz,

> 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 <bgolaszewski@baylibre.com>
> ---
> drivers/bluetooth/btmtksdio.c | 1 +
> 1 file changed, 1 insertion(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-07 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07  9:46 [PATCH] bluetooth: btmtksdio: add MODULE_DEVICE_TABLE() Bartosz Golaszewski
2019-11-07 14:17 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).