]> Pileus Git - ~andy/linux/commitdiff
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 1e0d2a638b28d71bdf0f0340e1e4bab062f17a62..96d33adb258aba6bd3de30ccedbc38708d3ee8ad 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