/* * eeepc-laptop.c - Asus Eee PC extras * * Based on asus_acpi.c as patched for the Eee PC by Asus: * ftp://ftp.asus.com/pub/ASUS/EeePC/701/ASUS_ACPI_071126.rar * Based on eee.c from eeepc-linux * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt#include<linux/kernel.h>#include<linux/module.h>#include<linux/init.h>#include<linux/types.h>#include<linux/platform_device.h>#include<linux/backlight.h>#include<linux/fb.h>#include<linux/hwmon.h>#include<linux/hwmon-sysfs.h>#include<linux/slab.h>#include<acpi/acpi_drivers.h>#include<acpi/acpi_bus.h>#include<linux/uaccess.h>#include<linux/input.h>#include<linux/input/sparse-keymap.h>#include<linux/rfkill.h>#include<linux/pci.h>#include<linux/pci_hotplug.h>#include<linux/leds.h>#include<linux/dmi.h>#define EEEPC_LAPTOP_VERSION "0.1"#define EEEPC_LAPTOP_NAME "Eee PC Hotkey Driver"#define EEEPC_LAPTOP_FILE "eee