#include <linux/kernel.h>
#include <linux/iopoll.h>
#include <linux/module.h>
#include <linux/mmc/host.h>
#include <linux/mmc/sdio_ids.h>
#include <linux/mmc/sdio_func.h>
#include "mt7921.h"
#include "../sdio.h"
#include "../mt76_connac2_mac.h"
#include "mcu.h"
static const struct sdio_device_id mt7921s_table[] = …;
static void mt7921s_txrx_worker(struct mt76_worker *w)
{ … }
static void mt7921s_unregister_device(struct mt792x_dev *dev)
{ … }
static int mt7921s_parse_intr(struct mt76_dev *dev, struct mt76s_intr *intr)
{ … }
static int mt7921s_probe(struct sdio_func *func,
const struct sdio_device_id *id)
{ … }
static void mt7921s_remove(struct sdio_func *func)
{ … }
static int mt7921s_suspend(struct device *__dev)
{ … }
static int mt7921s_resume(struct device *__dev)
{ … }
MODULE_DEVICE_TABLE(sdio, mt7921s_table);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
static DEFINE_SIMPLE_DEV_PM_OPS(mt7921s_pm_ops, mt7921s_suspend, mt7921s_resume);
static struct sdio_driver mt7921s_driver = …;
module_sdio_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;