Thread (3 messages) 3 messages, 3 authors, 2018-06-11

Re: [PATCH v2 11/24] Bluetooth: hci_bcm: MODULE_DEVICE_TABLE(serdev)

From: Andy Shevchenko <hidden>
Date: 2018-06-11 13:31:21
Also in: linux-serial, lkml

On Mon, Jun 11, 2018 at 3:59 PM, Marcel Holtmann [off-list ref] wrot=
e:
Hi Ricardo,
quoted
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
quoted
static const struct serdev_device_id bcm_serdev_id[] =3D {
      { "bcm43438-bt", },
+     { "hci_uart_bcm", },
      {}
};
+MODULE_DEVICE_TABLE(serdev, bcm_serdev_id);
so this one I can see real use of and is a good fix to finally clean up h=
ci_bcm.c and remove platform support for the Edison hardware. However, I wo=
uld really then first rename hci_uart_bcm into some Edison specific string =
since this is really just one outlier here.

Or other way around, hack
arch/x86/platform/intel-mid/device_libs/platform_bt.c to be compatible
with these changes (Dunno if it's possible).

--=20
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help