#include <linux/acpi.h>
#include <linux/module.h>
#include <linux/slab.h>
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
static ssize_t irst_show_wakeup_events(struct device *dev,
struct device_attribute *attr,
char *buf)
{ … }
static ssize_t irst_store_wakeup_events(struct device *dev,
struct device_attribute *attr,
const char *buf, size_t count)
{ … }
static struct device_attribute irst_wakeup_attr = …;
static ssize_t irst_show_wakeup_time(struct device *dev,
struct device_attribute *attr, char *buf)
{ … }
static ssize_t irst_store_wakeup_time(struct device *dev,
struct device_attribute *attr,
const char *buf, size_t count)
{ … }
static struct device_attribute irst_timeout_attr = …;
static int irst_add(struct acpi_device *acpi)
{ … }
static void irst_remove(struct acpi_device *acpi)
{ … }
static const struct acpi_device_id irst_ids[] = …;
static struct acpi_driver irst_driver = …;
module_acpi_driver(…) …;
MODULE_DEVICE_TABLE(acpi, irst_ids);