瀏覽代碼

asus-wmi: move generic code to asus-wmi

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>
Corentin Chary 14 年之前
父節點
當前提交
5b799d4fb7
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/platform/x86/Makefile
  2. 0 0
      drivers/platform/x86/asus-wmi.c

+ 1 - 1
drivers/platform/x86/Makefile

@@ -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

+ 0 - 0
drivers/platform/x86/eeepc-wmi.c → drivers/platform/x86/asus-wmi.c