#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include "mt76x0.h"
#include "mcu.h"
static int mt76x0e_start(struct ieee80211_hw *hw)
{ … }
static void mt76x0e_stop_hw(struct mt76x02_dev *dev)
{ … }
static void mt76x0e_stop(struct ieee80211_hw *hw, bool suspend)
{ … }
static void
mt76x0e_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
u32 queues, bool drop)
{ … }
static const struct ieee80211_ops mt76x0e_ops = …;
static int mt76x0e_init_hardware(struct mt76x02_dev *dev, bool resume)
{ … }
static int mt76x0e_register_device(struct mt76x02_dev *dev)
{ … }
static int
mt76x0e_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{ … }
static void mt76x0e_cleanup(struct mt76x02_dev *dev)
{ … }
static void
mt76x0e_remove(struct pci_dev *pdev)
{ … }
#ifdef CONFIG_PM
static int mt76x0e_suspend(struct pci_dev *pdev, pm_message_t state)
{ … }
static int mt76x0e_resume(struct pci_dev *pdev)
{ … }
#endif
static const struct pci_device_id mt76x0e_device_table[] = …;
MODULE_DEVICE_TABLE(pci, mt76x0e_device_table);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
static struct pci_driver mt76x0e_driver = …;
module_pci_driver(…) …;