public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] hwmon: ad7414: add MODULE_DEVICE_TABLE
@ 2011-02-24  2:20 Axel Lin
  2011-02-24  2:22 ` [PATCH 2/2] hwmon: adt7411: " Axel Lin
  2011-02-24  3:32 ` [PATCH 1/2] hwmon: ad7414: " Guenter Roeck
  0 siblings, 2 replies; 6+ 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




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

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

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox