#include <linux/pci.h>
#include "processor_thermal_device.h"
static const char * const workload_types[] = …;
static ssize_t workload_available_types_show(struct device *dev,
struct device_attribute *attr,
char *buf)
{ … }
static DEVICE_ATTR_RO(workload_available_types);
static ssize_t workload_type_store(struct device *dev,
struct device_attribute *attr,
const char *buf, size_t count)
{ … }
static ssize_t workload_type_show(struct device *dev,
struct device_attribute *attr,
char *buf)
{ … }
static DEVICE_ATTR_RW(workload_type);
static struct attribute *workload_req_attrs[] = …;
static const struct attribute_group workload_req_attribute_group = …;
static bool workload_req_created;
int proc_thermal_wt_req_add(struct pci_dev *pdev, struct proc_thermal_device *proc_priv)
{ … }
EXPORT_SYMBOL_GPL(…);
void proc_thermal_wt_req_remove(struct pci_dev *pdev)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_IMPORT_NS(…);
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;