#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/usb.h>
#include "mt7921.h"
#include "mcu.h"
#include "../mt76_connac2_mac.h"
static const struct usb_device_id mt7921u_device_table[] = …;
static int
mt7921u_mcu_send_message(struct mt76_dev *mdev, struct sk_buff *skb,
int cmd, int *seq)
{ … }
static int mt7921u_mcu_init(struct mt792x_dev *dev)
{ … }
static int mt7921u_mac_reset(struct mt792x_dev *dev)
{ … }
static int mt7921u_probe(struct usb_interface *usb_intf,
const struct usb_device_id *id)
{ … }
#ifdef CONFIG_PM
static int mt7921u_suspend(struct usb_interface *intf, pm_message_t state)
{ … }
static int mt7921u_resume(struct usb_interface *intf)
{ … }
#endif
MODULE_DEVICE_TABLE(usb, mt7921u_device_table);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
static struct usb_driver mt7921u_driver = …;
module_usb_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;