summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/btmtk.h
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2022-01-10 03:24:00 +0800
committerMarcel Holtmann <marcel@holtmann.org>2022-01-10 17:41:39 +0100
commit5677bcf6d8ff645d90c422ab035030c6aeec9296 (patch)
tree51d17443631e4a4f9841171fab1c712cf74f206e /drivers/bluetooth/btmtk.h
parent191c872308f6a175324bc33807852b10363066cb (diff)
Bluetooth: btmtksdio: move struct reg_read_cmd to common file
move struct reg_read_cmd to btmtk.h to allow other mtk drivers refer to. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmtk.h')
-rw-r--r--drivers/bluetooth/btmtk.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/bluetooth/btmtk.h b/drivers/bluetooth/btmtk.h
index fc57ef09d132..fb76d9765ce0 100644
--- a/drivers/bluetooth/btmtk.h
+++ b/drivers/bluetooth/btmtk.h
@@ -87,6 +87,13 @@ struct btmtk_sco {
u8 channel_select_config;
} __packed;
+struct reg_read_cmd {
+ u8 type;
+ u8 rsv;
+ u8 num;
+ __le32 addr;
+} __packed;
+
struct reg_write_cmd {
u8 type;
u8 rsv;