From: David Herrmann Date: Thu, 17 Nov 2011 13:11:58 +0000 (+0100) Subject: HID: wiimote: Rename driver to allow multiple source files X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=192a1acfbd600fea8a596b7d92572b70131b7738;p=linux-beck.git 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 Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile index 1e0d2a638b28..96d33adb258a 100644 --- a/drivers/hid/Makefile +++ b/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 diff --git a/drivers/hid/hid-wiimote.c b/drivers/hid/hid-wiimote-core.c similarity index 100% rename from drivers/hid/hid-wiimote.c rename to drivers/hid/hid-wiimote-core.c