Re: [patch 1/1] hid: Logitech G13 driver 0.0.2
From: Rick L. Vinyard, Jr. <hidden>
Date: 2010-01-06 16:23:39
Jiri Kosina wrote:
Still, this is not the only build problem of this driver. Apparently it also doesn't like to be built as module (together with all the HID_LOGITECH stuff). drivers/hid/hid-g13.o:(.rodata+0x1e0): multiple definition of `__mod_hid_device_table' drivers/hid/hid-lg.o:(.rodata+0x540): first defined here ld: Warning: size of symbol `__mod_hid_device_table' changed from 552 in drivers/hid/hid-lg.o to 48 in drivers/hid/hid-g13.o drivers/hid/hid-g13.o: In function `g13_init': /home/jkosina/src/hid/drivers/hid/hid-g13.c:1513: multiple definition of `init_module' drivers/hid/hid-lg.o:/home/jkosina/src/hid/drivers/hid/hid-lg.c:354: first defined here drivers/hid/hid-g13.o: In function `g13_exit': /home/jkosina/src/hid/drivers/hid/hid-g13.c:1518: multiple definition of `cleanup_module' drivers/hid/hid-lg.o:/home/jkosina/src/hid/drivers/hid/hid-lg.c:359: first defined here make[1]: *** [drivers/hid/hid-logitech.o] Error 1
Even though the G13 is a Logitech device, perhaps I should break it out of the Logitech stuff. In reality, the "Logitech" option is a bit of a misnomer. It doesn't appear to be Logitech in general but rather Logitech Force Feedback devices. There's nothing in the driver that needs the Logitech force feedback code. --- Rick