HID: wiimote: Rename driver to allow multiple source files
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 17 Nov 2011 13:11:58 +0000 (14:11 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 22 Nov 2011 22:06:31 +0000 (23:06 +0100)
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>
drivers/hid/Makefile
drivers/hid/hid-wiimote-core.c [moved from drivers/hid/hid-wiimote.c with 100% similarity]

index 1e0d2a6..96d33ad 100644 (file)
@@ -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