Commit d40e9edc authored by Karel Balej's avatar Karel Balej Committed by Dmitry Torokhov

Input: ioc3kbd - add device table

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

Fixes: 273db8f0 ("Input: add IOC3 serio driver")
Signed-off-by: default avatarKarel Balej <balejk@matfyz.cz>
Link: https://lore.kernel.org/r/20240313115832.8052-1-balejk@matfyz.czSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent bf32bcee
...@@ -200,9 +200,16 @@ static void ioc3kbd_remove(struct platform_device *pdev) ...@@ -200,9 +200,16 @@ static void ioc3kbd_remove(struct platform_device *pdev)
serio_unregister_port(d->aux); serio_unregister_port(d->aux);
} }
static const struct platform_device_id ioc3kbd_id_table[] = {
{ "ioc3-kbd", },
{ }
};
MODULE_DEVICE_TABLE(platform, ioc3kbd_id_table);
static struct platform_driver ioc3kbd_driver = { static struct platform_driver ioc3kbd_driver = {
.probe = ioc3kbd_probe, .probe = ioc3kbd_probe,
.remove_new = ioc3kbd_remove, .remove_new = ioc3kbd_remove,
.id_table = ioc3kbd_id_table,
.driver = { .driver = {
.name = "ioc3-kbd", .name = "ioc3-kbd",
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment