#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/usb.h>
#include "mt76x0.h"
#include "mcu.h"
#include "../mt76x02_usb.h"
static struct usb_device_id mt76x0_device_table[] = …;
static void mt76x0_init_usb_dma(struct mt76x02_dev *dev)
{ … }
static void mt76x0u_cleanup(struct mt76x02_dev *dev)
{ … }
static void mt76x0u_stop(struct ieee80211_hw *hw, bool suspend)
{ … }
static int mt76x0u_start(struct ieee80211_hw *hw)
{ … }
static const struct ieee80211_ops mt76x0u_ops = …;
static int mt76x0u_init_hardware(struct mt76x02_dev *dev, bool reset)
{ … }
static int mt76x0u_register_device(struct mt76x02_dev *dev)
{ … }
static int mt76x0u_probe(struct usb_interface *usb_intf,
const struct usb_device_id *id)
{ … }
static void mt76x0_disconnect(struct usb_interface *usb_intf)
{ … }
static int __maybe_unused mt76x0_suspend(struct usb_interface *usb_intf,
pm_message_t state)
{ … }
static int __maybe_unused mt76x0_resume(struct usb_interface *usb_intf)
{ … }
MODULE_DEVICE_TABLE(usb, mt76x0_device_table);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
static struct usb_driver mt76x0_driver = …;
module_usb_driver(…) …;