#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/export.h>
#include <linux/suspend.h>
#include <linux/bcd.h>
#include <linux/acpi.h>
#include <linux/uaccess.h>
#include "sleep.h"
#include "internal.h"
static int
acpi_system_wakeup_device_seq_show(struct seq_file *seq, void *offset)
{ … }
static void physical_device_enable_wakeup(struct acpi_device *adev)
{ … }
static ssize_t
acpi_system_write_wakeup_device(struct file *file,
const char __user * buffer,
size_t count, loff_t * ppos)
{ … }
static int
acpi_system_wakeup_device_open_fs(struct inode *inode, struct file *file)
{ … }
static const struct proc_ops acpi_system_wakeup_device_proc_ops = …;
void __init acpi_sleep_proc_init(void)
{ … }