#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/acpi.h>
#include "fan.h"
MODULE_LICENSE(…) …;
static ssize_t show_state(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static ssize_t show_fan_speed(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static ssize_t show_fine_grain_control(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
int acpi_fan_create_attributes(struct acpi_device *device)
{ … }
void acpi_fan_delete_attributes(struct acpi_device *device)
{ … }