#include <linux/acpi.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/thermal.h>
#include "int340x_thermal_zone.h"
#include "processor_thermal_device.h"
#include "../intel_soc_dts_iosf.h"
#define DRV_NAME …
static irqreturn_t proc_thermal_pci_msi_irq(int irq, void *devid)
{ … }
static int proc_thermal_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id)
{ … }
static void proc_thermal_pci_remove(struct pci_dev *pdev)
{ … }
#ifdef CONFIG_PM_SLEEP
static int proc_thermal_pci_suspend(struct device *dev)
{ … }
static int proc_thermal_pci_resume(struct device *dev)
{ … }
#else
#define proc_thermal_pci_suspend …
#define proc_thermal_pci_resume …
#endif
static SIMPLE_DEV_PM_OPS(proc_thermal_pci_pm, proc_thermal_pci_suspend,
proc_thermal_pci_resume);
static const struct pci_device_id proc_thermal_pci_ids[] = …;
MODULE_DEVICE_TABLE(pci, proc_thermal_pci_ids);
static struct pci_driver proc_thermal_pci_driver = …;
module_pci_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;