Bluetooth: btintel: Constify static struct regmap_bus
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Wed, 30 Mar 2022 22:32:52 +0000 (00:32 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 13 May 2022 11:05:48 +0000 (13:05 +0200)
commitbf7380e224f98a29ff6290beb2ea026f0a044a8c
tree3d3f9513a96fd2fa0eeced860d6209df934c0f63
parent31396dd53f32d5d82655d84ab31e193ace836688
Bluetooth: btintel: Constify static struct regmap_bus

The only usage of regmap_ibt is to (after the regmap_init() macro is
expanded), pass its address to __regmap_init(), which takes a pointer to
const struct regmap_bus as input. Make it const to allow the compiler to
put it in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btintel.c