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

Input: ioc3kbd - add device table

Without the device table the driver will not auto-load when compiled as
a module.

Fixes: 273db8f03509 ("Input: add IOC3 serio driver")
Signed-off-by: Karel Balej <balejk@matfyz.cz>
Link: https://lore.kernel.org/r/20240313115832.8052-1-balejk@matfyz.cz
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Karel Balej and committed by
Dmitry Torokhov
d40e9edc bf32bcee

+7
+7
drivers/input/serio/ioc3kbd.c
··· 200 200 serio_unregister_port(d->aux); 201 201 } 202 202 203 + static const struct platform_device_id ioc3kbd_id_table[] = { 204 + { "ioc3-kbd", }, 205 + { } 206 + }; 207 + MODULE_DEVICE_TABLE(platform, ioc3kbd_id_table); 208 + 203 209 static struct platform_driver ioc3kbd_driver = { 204 210 .probe = ioc3kbd_probe, 205 211 .remove_new = ioc3kbd_remove, 212 + .id_table = ioc3kbd_id_table, 206 213 .driver = { 207 214 .name = "ioc3-kbd", 208 215 },