From: Axel Lin <axel.lin@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Sascha Hauer <s.hauer@pengutronix.de>,
Wolfram Sang <w.sang@pengutronix.de>,
Jean Delvare <khali@linux-fr.org>,
Guenter Roeck <guenter.roeck@ericsson.com>,
lm-sensors@lm-sensors.org
Subject: [lm-sensors] [PATCH 2/2] hwmon: adt7411: add MODULE_DEVICE_TABLE
Date: Thu, 24 Feb 2011 02:22:01 +0000 [thread overview]
Message-ID: <1298514121.19027.5.camel@mola> (raw)
In-Reply-To: <1298514037.19027.3.camel@mola>
The device table is required to load modules based on modaliases.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/hwmon/adt7411.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/hwmon/adt7411.c b/drivers/hwmon/adt7411.c
index f13c843..5cc3e37 100644
--- a/drivers/hwmon/adt7411.c
+++ b/drivers/hwmon/adt7411.c
@@ -334,6 +334,7 @@ static const struct i2c_device_id adt7411_id[] = {
{ "adt7411", 0 },
{ }
};
+MODULE_DEVICE_TABLE(i2c, adt7411_id);
static struct i2c_driver adt7411_driver = {
.driver = {
--
1.7.2
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
WARNING: multiple messages have this Message-ID (diff)
From: Axel Lin <axel.lin@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Sascha Hauer <s.hauer@pengutronix.de>,
Wolfram Sang <w.sang@pengutronix.de>,
Jean Delvare <khali@linux-fr.org>,
Guenter Roeck <guenter.roeck@ericsson.com>,
lm-sensors@lm-sensors.org
Subject: [PATCH 2/2] hwmon: adt7411: add MODULE_DEVICE_TABLE
Date: Thu, 24 Feb 2011 10:22:01 +0800 [thread overview]
Message-ID: <1298514121.19027.5.camel@mola> (raw)
In-Reply-To: <1298514037.19027.3.camel@mola>
The device table is required to load modules based on modaliases.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/hwmon/adt7411.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/hwmon/adt7411.c b/drivers/hwmon/adt7411.c
index f13c843..5cc3e37 100644
--- a/drivers/hwmon/adt7411.c
+++ b/drivers/hwmon/adt7411.c
@@ -334,6 +334,7 @@ static const struct i2c_device_id adt7411_id[] = {
{ "adt7411", 0 },
{ }
};
+MODULE_DEVICE_TABLE(i2c, adt7411_id);
static struct i2c_driver adt7411_driver = {
.driver = {
--
1.7.2
next prev parent reply other threads:[~2011-02-24 2:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Axel Lin [this message]
2011-02-24 2:22 ` [PATCH 2/2] hwmon: adt7411: " 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1298514121.19027.5.camel@mola \
--to=axel.lin@gmail.com \
--cc=guenter.roeck@ericsson.com \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
--cc=s.hauer@pengutronix.de \
--cc=w.sang@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.