diff options
author | Tom Gundersen <teg@jklm.no> | 2014-02-03 01:44:13 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2014-03-13 02:41:00 +0100 |
commit | 21bdd17b21b45ea48e06e23918d681afbe0622e9 (patch) | |
tree | 6eff7072912ade3ba7722d98acc753c65477b169 /kernel/panic.c | |
parent | module: use pr_cont (diff) | |
download | linux-21bdd17b21b45ea48e06e23918d681afbe0622e9.tar.xz linux-21bdd17b21b45ea48e06e23918d681afbe0622e9.zip |
module: allow multiple calls to MODULE_DEVICE_TABLE() per module
Commit 78551277e4df5: "Input: i8042 - add PNP modaliases" had a bug, where the
second call to MODULE_DEVICE_TABLE() overrode the first resulting in not all
the modaliases being exposed.
This fixes the problem by including the name of the device_id table in the
__mod_*_device_table alias, allowing us to export several device_id tables
per module.
Suggested-by: Kay Sievers <kay@vrfy.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions