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

* [PATCH 2/2] hwmon: adt7411: add MODULE_DEVICE_TABLE
  2011-02-24  2:20 [PATCH 1/2] hwmon: ad7414: add MODULE_DEVICE_TABLE Axel Lin
@ 2011-02-24  2:22 ` Axel Lin
  2011-02-24  3:33   ` Guenter Roeck
  2011-02-24  3:32 ` [PATCH 1/2] hwmon: ad7414: " Guenter Roeck
  1 sibling, 1 reply; 6+ messages in thread
From: Axel Lin @ 2011-02-24  2:22 UTC (permalink / raw)
  To: linux-kernel
  Cc: Sascha Hauer, Wolfram Sang, 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/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




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

* Re: [PATCH 1/2] hwmon: ad7414: add MODULE_DEVICE_TABLE
  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:32 ` Guenter Roeck
  1 sibling, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2011-02-24  3:32 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel@vger.kernel.org, Sean MacLennan, Frank Edelhaeuser,
	Jean Delvare, lm-sensors@lm-sensors.org

On Wed, Feb 23, 2011 at 09:20:37PM -0500, Axel Lin wrote:
> The device table is required to load modules based on modaliases.
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>

Applied.

Thanks,
Guenter

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

* Re: [PATCH 2/2] hwmon: adt7411: add MODULE_DEVICE_TABLE
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Guenter Roeck @ 2011-02-24  3:33 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel@vger.kernel.org, Sascha Hauer, Wolfram Sang,
	Jean Delvare, lm-sensors@lm-sensors.org

On Wed, Feb 23, 2011 at 09:22:01PM -0500, Axel Lin wrote:
> The device table is required to load modules based on modaliases.
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>

Applied.

Thanks,
Guenter

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

* Re: [PATCH 2/2] hwmon: adt7411: add MODULE_DEVICE_TABLE
  2011-02-24  3:33   ` Guenter Roeck
@ 2011-02-24  8:45     ` Wolfram Sang
  2011-02-24  9:41       ` Guenter Roeck
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfram Sang @ 2011-02-24  8:45 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Axel Lin, linux-kernel@vger.kernel.org, Sascha Hauer,
	Jean Delvare, lm-sensors@lm-sensors.org

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

On Wed, Feb 23, 2011 at 07:33:10PM -0800, Guenter Roeck wrote:
> On Wed, Feb 23, 2011 at 09:22:01PM -0500, Axel Lin wrote:
> > The device table is required to load modules based on modaliases.
> > 
> > Signed-off-by: Axel Lin <axel.lin@gmail.com>
> 
> Applied.

That was fast :)

FWIW

Acked-by: Wolfram Sang <w.sang@pengutronix.de>

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [PATCH 2/2] hwmon: adt7411: add MODULE_DEVICE_TABLE
  2011-02-24  8:45     ` Wolfram Sang
@ 2011-02-24  9:41       ` Guenter Roeck
  0 siblings, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2011-02-24  9:41 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Axel Lin, linux-kernel@vger.kernel.org, Sascha Hauer,
	Jean Delvare, lm-sensors@lm-sensors.org

On Thu, Feb 24, 2011 at 03:45:54AM -0500, Wolfram Sang wrote:
> On Wed, Feb 23, 2011 at 07:33:10PM -0800, Guenter Roeck wrote:
> > On Wed, Feb 23, 2011 at 09:22:01PM -0500, Axel Lin wrote:
> > > The device table is required to load modules based on modaliases.
> > > 
> > > Signed-off-by: Axel Lin <axel.lin@gmail.com>
> > 
> > Applied.
> 
> That was fast :)
> 
> FWIW
> 
> Acked-by: Wolfram Sang <w.sang@pengutronix.de>
> 
Thanks!

Guenter


^ permalink raw reply	[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