summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-10-31 00:33:54 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-10-31 08:46:06 -0700
commit78551277e4df57864b0b0e7f85c23ede2be2edb8 (patch)
tree1ae63b6efb6cf0ae37bd684e64b63c2cf8f0c319
parent92eb77d0ffbaa71b501a0a8dabf09a351bf4267f (diff)
downloadop-kernel-dev-78551277e4df57864b0b0e7f85c23ede2be2edb8.zip
op-kernel-dev-78551277e4df57864b0b0e7f85c23ede2be2edb8.tar.gz
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: Tom Gundersen <teg@jklm.no> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--drivers/input/serio/i8042-x86ia64io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h
index 5f306f7..0ec9abb 100644
--- a/drivers/input/serio/i8042-x86ia64io.h
+++ b/drivers/input/serio/i8042-x86ia64io.h
@@ -765,6 +765,7 @@ static struct pnp_device_id pnp_kbd_devids[] = {
{ .id = "CPQA0D7", .driver_data = 0 },
{ .id = "", },
};
+MODULE_DEVICE_TABLE(pnp, pnp_kbd_devids);
static struct pnp_driver i8042_pnp_kbd_driver = {
.name = "i8042 kbd",
@@ -786,6 +787,7 @@ static struct pnp_device_id pnp_aux_devids[] = {
{ .id = "SYN0801", .driver_data = 0 },
{ .id = "", },
};
+MODULE_DEVICE_TABLE(pnp, pnp_aux_devids);
static struct pnp_driver i8042_pnp_aux_driver = {
.name = "i8042 aux",
OpenPOWER on IntegriCloud