提交 78551277 编写于 作者: T Tom Gundersen 提交者: Dmitry Torokhov

Input: i8042 - add PNP modaliases

This allows the module to be autoloaded in the common case.

In order to work on non-PnP systems the module should be compiled in or
loaded unconditionally at boot (c.f. modules-load.d(5)), as before.
Signed-off-by: NTom Gundersen <teg@jklm.no>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 92eb77d0
...@@ -765,6 +765,7 @@ static struct pnp_device_id pnp_kbd_devids[] = { ...@@ -765,6 +765,7 @@ static struct pnp_device_id pnp_kbd_devids[] = {
{ .id = "CPQA0D7", .driver_data = 0 }, { .id = "CPQA0D7", .driver_data = 0 },
{ .id = "", }, { .id = "", },
}; };
MODULE_DEVICE_TABLE(pnp, pnp_kbd_devids);
static struct pnp_driver i8042_pnp_kbd_driver = { static struct pnp_driver i8042_pnp_kbd_driver = {
.name = "i8042 kbd", .name = "i8042 kbd",
...@@ -786,6 +787,7 @@ static struct pnp_device_id pnp_aux_devids[] = { ...@@ -786,6 +787,7 @@ static struct pnp_device_id pnp_aux_devids[] = {
{ .id = "SYN0801", .driver_data = 0 }, { .id = "SYN0801", .driver_data = 0 },
{ .id = "", }, { .id = "", },
}; };
MODULE_DEVICE_TABLE(pnp, pnp_aux_devids);
static struct pnp_driver i8042_pnp_aux_driver = { static struct pnp_driver i8042_pnp_aux_driver = {
.name = "i8042 aux", .name = "i8042 aux",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册