#define pr_fmt(fmt) …
#include <linux/nl80211.h>
#include <linux/pci.h>
#include <linux/module.h>
#include "ath9k.h"
static const struct pci_device_id ath_pci_id_table[] = …;
static void ath_pci_read_cachesize(struct ath_common *common, int *csz)
{ … }
static bool ath_pci_eeprom_read(struct ath_common *common, u32 off, u16 *data)
{ … }
static void ath_pci_aspm_init(struct ath_common *common)
{ … }
static const struct ath_bus_ops ath_pci_bus_ops = …;
static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{ … }
static void ath_pci_remove(struct pci_dev *pdev)
{ … }
#ifdef CONFIG_PM_SLEEP
static int ath_pci_suspend(struct device *device)
{ … }
static int ath_pci_resume(struct device *device)
{ … }
static SIMPLE_DEV_PM_OPS(ath9k_pm_ops, ath_pci_suspend, ath_pci_resume);
#define ATH9K_PM_OPS …
#else
#define ATH9K_PM_OPS …
#endif
MODULE_DEVICE_TABLE(pci, ath_pci_id_table);
static struct pci_driver ath_pci_driver = …;
int ath_pci_init(void)
{ … }
void ath_pci_exit(void)
{ … }