Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'input-for-v6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input

Pull input fixes from Dmitry Torokhov:

- a new ID for ASUS ROG RAIKIRI controllers added to xpad driver

- amimouse driver structure annotated with __refdata to prevent section
mismatch warnings.

* tag 'input-for-v6.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: amimouse - mark driver struct with __refdata to prevent section mismatch
Input: xpad - add support for ASUS ROG RAIKIRI

+9 -1
+2
drivers/input/joystick/xpad.c
··· 208 208 { 0x0738, 0xcb29, "Saitek Aviator Stick AV8R02", 0, XTYPE_XBOX360 }, 209 209 { 0x0738, 0xf738, "Super SFIV FightStick TE S", 0, XTYPE_XBOX360 }, 210 210 { 0x07ff, 0xffff, "Mad Catz GamePad", 0, XTYPE_XBOX360 }, 211 + { 0x0b05, 0x1a38, "ASUS ROG RAIKIRI", 0, XTYPE_XBOXONE }, 211 212 { 0x0c12, 0x0005, "Intec wireless", 0, XTYPE_XBOX }, 212 213 { 0x0c12, 0x8801, "Nyko Xbox Controller", 0, XTYPE_XBOX }, 213 214 { 0x0c12, 0x8802, "Zeroplus Xbox Controller", 0, XTYPE_XBOX }, ··· 488 487 { USB_DEVICE(0x0738, 0x4540) }, /* Mad Catz Beat Pad */ 489 488 XPAD_XBOXONE_VENDOR(0x0738), /* Mad Catz FightStick TE 2 */ 490 489 XPAD_XBOX360_VENDOR(0x07ff), /* Mad Catz Gamepad */ 490 + XPAD_XBOXONE_VENDOR(0x0b05), /* ASUS controllers */ 491 491 XPAD_XBOX360_VENDOR(0x0c12), /* Zeroplus X-Box 360 controllers */ 492 492 XPAD_XBOX360_VENDOR(0x0e6f), /* 0x0e6f Xbox 360 controllers */ 493 493 XPAD_XBOXONE_VENDOR(0x0e6f), /* 0x0e6f Xbox One controllers */
+7 -1
drivers/input/mouse/amimouse.c
··· 132 132 input_unregister_device(dev); 133 133 } 134 134 135 - static struct platform_driver amimouse_driver = { 135 + /* 136 + * amimouse_remove() lives in .exit.text. For drivers registered via 137 + * module_platform_driver_probe() this is ok because they cannot get unbound at 138 + * runtime. So mark the driver struct with __refdata to prevent modpost 139 + * triggering a section mismatch warning. 140 + */ 141 + static struct platform_driver amimouse_driver __refdata = { 136 142 .remove_new = __exit_p(amimouse_remove), 137 143 .driver = { 138 144 .name = "amiga-mouse",