summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/realtek/rtw89/rtw8852ae.c
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2022-03-07 09:04:46 +0300
committerKalle Valo <kvalo@kernel.org>2022-03-10 19:42:06 +0300
commit4a9e48accf2d459370abf05cb1a945895b5b9719 (patch)
treed91fc95cb1463e1e288b9b9a0d33f8046a4b286a /drivers/net/wireless/realtek/rtw89/rtw8852ae.c
parent0ac80e05ea329acdb3bf2c9cc37b102b58390759 (diff)
downloadlinux-4a9e48accf2d459370abf05cb1a945895b5b9719.tar.xz
rtw89: pci: add struct rtw89_pci_info
Use this struct to implement chip::ops related to PCI interface. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220307060457.56789-3-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw89/rtw8852ae.c')
-rw-r--r--drivers/net/wireless/realtek/rtw89/rtw8852ae.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/rtw8852ae.c b/drivers/net/wireless/realtek/rtw89/rtw8852ae.c
index de93280e0f69..527c0bba0aa6 100644
--- a/drivers/net/wireless/realtek/rtw89/rtw8852ae.c
+++ b/drivers/net/wireless/realtek/rtw89/rtw8852ae.c
@@ -8,8 +8,14 @@
#include "pci.h"
#include "rtw8852a.h"
+static const struct rtw89_pci_info rtw8852a_pci_info = {
+};
+
static const struct rtw89_driver_info rtw89_8852ae_info = {
.chip = &rtw8852a_chip_info,
+ .bus = {
+ .pci = &rtw8852a_pci_info,
+ },
};
static const struct pci_device_id rtw89_8852ae_id_table[] = {