diff options
author | Linaro CI <ci_notify@linaro.org> | 2017-11-27 17:13:55 +0000 |
---|---|---|
committer | Linaro CI <ci_notify@linaro.org> | 2017-11-27 17:13:55 +0000 |
commit | e71278370719aec9bcfb72765247e9f1b8ed8273 (patch) | |
tree | 50b5e3aff78da816eb31f43d1effd2b0c9a6140d /drivers/bluetooth/btwilink.c | |
parent | e654be7770726ec657dbe1ef7f4214fc19c12942 (diff) | |
parent | ae66c84792bf48ed4bb9cb4309abdf01dbe2a4f9 (diff) |
Merge remote-tracking branch 'sumit-lts/lts-4.4.y-hikey' into linux-4.4.y4.4.103-rc1-hikey-20171127-62
Diffstat (limited to 'drivers/bluetooth/btwilink.c')
-rw-r--r-- | drivers/bluetooth/btwilink.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/bluetooth/btwilink.c b/drivers/bluetooth/btwilink.c index 57eb935aedc7..f03792e89ae1 100644 --- a/drivers/bluetooth/btwilink.c +++ b/drivers/bluetooth/btwilink.c @@ -30,6 +30,7 @@ #include <linux/ti_wilink_st.h> #include <linux/module.h> +#include <linux/of.h> /* Bluetooth Driver Version */ #define VERSION "1.0" @@ -273,6 +274,14 @@ static int ti_st_send_frame(struct hci_dev *hdev, struct sk_buff *skb) return 0; } +static const struct of_device_id btwilink_of_match[] = { +{ + .compatible = "btwilink", + }, + {} +}; +MODULE_DEVICE_TABLE(of, btwilink_of_match); + static int bt_ti_probe(struct platform_device *pdev) { static struct ti_st *hst; @@ -336,6 +345,8 @@ static struct platform_driver btwilink_driver = { .remove = bt_ti_remove, .driver = { .name = "btwilink", + .owner = THIS_MODULE, + .of_match_table = of_match_ptr(btwilink_of_match), }, }; |