summaryrefslogtreecommitdiffstats
path: root/include/net/rsi_91x.h
diff options
context:
space:
mode:
authorPrameela Rani Garnepudi <prameela.j04cs@gmail.com>2018-02-27 19:56:15 +0530
committerKalle Valo <kvalo@codeaurora.org>2018-03-13 18:37:02 +0200
commit38aa4da504837ba8b9c04941e843642f129661eb (patch)
treedeb2e30a7dbbb12f2671d811c04752edcfe272ff /include/net/rsi_91x.h
parent2108df3c4b1856588ca2e7f641900c2bbf38467e (diff)
downloadlinux-38aa4da504837ba8b9c04941e843642f129661eb.tar.bz2
Bluetooth: btrsi: add new rsi bluetooth driver
Redpine bluetooth driver is a thin driver which depends on 'rsi_91x' driver for transmitting and receiving packets to/from device. It creates hci interface when attach() is called from 'rsi_91x' module. Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@gmail.com> Signed-off-by: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Reviewed-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/net/rsi_91x.h')
-rw-r--r--include/net/rsi_91x.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/rsi_91x.h b/include/net/rsi_91x.h
index 737ab4e01e3b..040f07b47f1f 100644
--- a/include/net/rsi_91x.h
+++ b/include/net/rsi_91x.h
@@ -49,6 +49,8 @@ struct rsi_proto_ops {
struct rsi_mod_ops {
int (*attach)(void *priv, struct rsi_proto_ops *ops);
void (*detach)(void *priv);
- int (*recv_pkt)(void *priv, u8 *msg);
+ int (*recv_pkt)(void *priv, const u8 *msg);
};
+
+extern const struct rsi_mod_ops rsi_bt_ops;
#endif