#include <linux/export.h>
#include <linux/acpi.h>
#include <linux/pnp.h>
#include <linux/slab.h>
#include <linux/mod_devicetable.h>
#include "../base.h"
#include "pnpacpi.h"
static int num;
#define TEST_HEX(c) …
#define TEST_ALPHA(c) …
static int __init ispnpidacpi(const char *id)
{ … }
static int pnpacpi_get_resources(struct pnp_dev *dev)
{ … }
static int pnpacpi_set_resources(struct pnp_dev *dev)
{ … }
static int pnpacpi_disable_resources(struct pnp_dev *dev)
{ … }
#ifdef CONFIG_ACPI_SLEEP
static bool pnpacpi_can_wakeup(struct pnp_dev *dev)
{ … }
static int pnpacpi_suspend(struct pnp_dev *dev, pm_message_t state)
{ … }
static int pnpacpi_resume(struct pnp_dev *dev)
{ … }
#endif
struct pnp_protocol pnpacpi_protocol = …;
EXPORT_SYMBOL(…);
static const char *__init pnpacpi_get_id(struct acpi_device *device)
{ … }
static int __init pnpacpi_add_device(struct acpi_device *device)
{ … }
static acpi_status __init pnpacpi_add_device_handler(acpi_handle handle,
u32 lvl, void *context,
void **rv)
{ … }
int pnpacpi_disabled __initdata;
static int __init pnpacpi_init(void)
{ … }
fs_initcall(pnpacpi_init);
static int __init pnpacpi_setup(char *str)
{ … }
__setup(…);