diff options
author | Ivan Orlov <[email protected]> | 2023-06-20 16:40:52 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-29 10:52:18 -0700 |
commit | d40d6f52d5bbbd7aa7092ba9fa793ad7dc253a35 (patch) | |
tree | 1aa28de34005270c8c1776b12976a85c8645493b /drivers/usb/cdns3/cdns3-imx.c | |
parent | 14f0dceca60b2fc4f2388505b25f9e6f71785e05 (diff) |
Bluetooth: hci_sysfs: make bt_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the bt_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at load time.
Cc: Marcel Holtmann <[email protected]>
Cc: Johan Hedberg <[email protected]>
Cc: Luiz Augusto von Dentz <[email protected]>
Cc: [email protected]
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ivan Orlov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions