asus-wmi: move generic code to asus-wmi
authorCorentin Chary <corentincj@iksaif.net>
Sat, 26 Feb 2011 09:20:30 +0000 (10:20 +0100)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:07:20 +0000 (06:07 -0400)
New Asus notebooks are using a WMI device similar to
the one used in Eee PCs. Since we don't want to load
a module named eeepc-laptop on Asus Notebooks, start by
copying all the code to asus-wmi.c.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/Makefile
drivers/platform/x86/asus-wmi.c [moved from drivers/platform/x86/eeepc-wmi.c with 100% similarity]

index a9877711b3f10b0d6e78b067383fa750a07eddfa..443257617b20840116371d9bee6a5f4a538914c0 100644 (file)
@@ -4,7 +4,7 @@
 #
 obj-$(CONFIG_ASUS_LAPTOP)      += asus-laptop.o
 obj-$(CONFIG_EEEPC_LAPTOP)     += eeepc-laptop.o
-obj-$(CONFIG_EEEPC_WMI)                += eeepc-wmi.o
+obj-$(CONFIG_EEEPC_WMI)                += asus-wmi.o eeepc-wmi.o
 obj-$(CONFIG_MSI_LAPTOP)       += msi-laptop.o
 obj-$(CONFIG_ACPI_CMPC)                += classmate-laptop.o
 obj-$(CONFIG_COMPAL_LAPTOP)    += compal-laptop.o