#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/acpi.h>
#include <linux/input.h>
#include <linux/pci_ids.h>
#include <linux/leds.h>
struct hswc_params { … };
struct asus_wireless_data { … };
static const struct hswc_params atk4001_id_params = …;
static const struct hswc_params atk4002_id_params = …;
static const struct acpi_device_id device_ids[] = …;
MODULE_DEVICE_TABLE(acpi, device_ids);
static acpi_status asus_wireless_method(acpi_handle handle, const char *method,
int param, u64 *ret)
{ … }
static enum led_brightness led_state_get(struct led_classdev *led)
{ … }
static void led_state_update(struct work_struct *work)
{ … }
static void led_state_set(struct led_classdev *led, enum led_brightness value)
{ … }
static void asus_wireless_notify(struct acpi_device *adev, u32 event)
{ … }
static int asus_wireless_add(struct acpi_device *adev)
{ … }
static void asus_wireless_remove(struct acpi_device *adev)
{ … }
static struct acpi_driver asus_wireless_driver = …;
module_acpi_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;