linux/drivers/net/wireless/realtek/rtw88/rtw8822be.c
<<
>>
Prefs
   1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
   2/* Copyright(c) 2018-2019  Realtek Corporation
   3 */
   4
   5#include <linux/module.h>
   6#include <linux/pci.h>
   7#include "rtw8822be.h"
   8
   9static const struct pci_device_id rtw_8822be_id_table[] = {
  10        {
  11                PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0xB822),
  12                .driver_data = (kernel_ulong_t)&rtw8822b_hw_spec
  13        },
  14        {}
  15};
  16MODULE_DEVICE_TABLE(pci, rtw_8822be_id_table);
  17
  18static struct pci_driver rtw_8822be_driver = {
  19        .name = "rtw_8822be",
  20        .id_table = rtw_8822be_id_table,
  21        .probe = rtw_pci_probe,
  22        .remove = rtw_pci_remove,
  23        .driver.pm = &rtw_pm_ops,
  24        .shutdown = rtw_pci_shutdown,
  25};
  26module_pci_driver(rtw_8822be_driver);
  27
  28MODULE_AUTHOR("Realtek Corporation");
  29MODULE_DESCRIPTION("Realtek 802.11ac wireless 8822be driver");
  30MODULE_LICENSE("Dual BSD/GPL");
  31