浏览代码

HID: wiimote: Rename driver to allow multiple source files

Extension and sound support for the wiimote are quite complex and will be
implemented in separate source files. Hence rename the current driver to "-core"
suffix so multiple files can be linked into this module.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
David Herrmann 13 年之前
父节点
当前提交
192a1acfbd
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/hid/Makefile
  2. 0 0
      drivers/hid/hid-wiimote-core.c

+ 2 - 0
drivers/hid/Makefile

@@ -25,6 +25,8 @@ ifdef CONFIG_LOGIWHEELS_FF
 	hid-logitech-y	+= hid-lg4ff.o
 endif
 
+hid-wiimote-y		:= hid-wiimote-core.o
+
 obj-$(CONFIG_HID_A4TECH)	+= hid-a4tech.o
 obj-$(CONFIG_HID_ACRUX)		+= hid-axff.o
 obj-$(CONFIG_HID_APPLE)		+= hid-apple.o

+ 0 - 0
drivers/hid/hid-wiimote.c → drivers/hid/hid-wiimote-core.c