From: Tom Gundersen Date: Mon, 3 Feb 2014 00:44:13 +0000 (+1030) Subject: module: allow multiple calls to MODULE_DEVICE_TABLE() per module X-Git-Tag: v3.15-rc1~67^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21bdd17b21b45ea48e06e23918d681afbe0622e9;p=pandora-kernel.git 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 Acked-by: Greg Kroah-Hartman Cc: Dmitry Torokhov Signed-off-by: Tom Gundersen Signed-off-by: Rusty Russell --- Reading git-diff-tree failed