All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH 1/2] hwmon: ad7414: add MODULE_DEVICE_TABLE
@ 2011-02-24  2:20 ` Axel Lin
  0 siblings, 0 replies; 12+ messages in thread
From: Axel Lin @ 2011-02-24  2:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: Sean MacLennan, Frank Edelhaeuser, Jean Delvare, Guenter Roeck,
	lm-sensors

The device table is required to load modules based on modaliases.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/hwmon/ad7414.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/hwmon/ad7414.c b/drivers/hwmon/ad7414.c
index 86d822a..d46c0c7 100644
--- a/drivers/hwmon/ad7414.c
+++ b/drivers/hwmon/ad7414.c
@@ -242,6 +242,7 @@ static const struct i2c_device_id ad7414_id[] = {
 	{ "ad7414", 0 },
 	{}
 };
+MODULE_DEVICE_TABLE(i2c, ad7414_id);
 
 static struct i2c_driver ad7414_driver = {
 	.driver = {
-- 
1.7.2




_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-02-24  9:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24  2:20 [lm-sensors] [PATCH 1/2] hwmon: ad7414: add MODULE_DEVICE_TABLE Axel Lin
2011-02-24  2:20 ` Axel Lin
2011-02-24  2:22 ` [lm-sensors] [PATCH 2/2] hwmon: adt7411: " Axel Lin
2011-02-24  2:22   ` Axel Lin
2011-02-24  3:33   ` [lm-sensors] " Guenter Roeck
2011-02-24  3:33     ` Guenter Roeck
2011-02-24  8:45     ` [lm-sensors] " Wolfram Sang
2011-02-24  8:45       ` Wolfram Sang
2011-02-24  9:41       ` [lm-sensors] " Guenter Roeck
2011-02-24  9:41         ` Guenter Roeck
2011-02-24  3:32 ` [lm-sensors] [PATCH 1/2] hwmon: ad7414: " Guenter Roeck
2011-02-24  3:32   ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.