2011-02-24 02:17:20

by Axel Lin

[permalink] [raw]
Subject: [PATCH 1/2] hwmon: ad7414: add MODULE_DEVICE_TABLE

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

Signed-off-by: Axel Lin <[email protected]>
---
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



2011-02-24 02:18:45

by Axel Lin

[permalink] [raw]
Subject: [PATCH 2/2] hwmon: adt7411: add MODULE_DEVICE_TABLE

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

Signed-off-by: Axel Lin <[email protected]>
---
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


2011-02-24 03:33:44

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 1/2] hwmon: ad7414: add MODULE_DEVICE_TABLE

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 <[email protected]>

Applied.

Thanks,
Guenter

2011-02-24 03:34:26

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 2/2] hwmon: adt7411: add MODULE_DEVICE_TABLE

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 <[email protected]>

Applied.

Thanks,
Guenter

2011-02-24 08:45:58

by Wolfram Sang

[permalink] [raw]
Subject: Re: [PATCH 2/2] hwmon: adt7411: add MODULE_DEVICE_TABLE

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 <[email protected]>
>
> Applied.

That was fast :)

FWIW

Acked-by: Wolfram Sang <[email protected]>

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


Attachments:
(No filename) (488.00 B)
signature.asc (197.00 B)
Digital signature
Download all attachments

2011-02-24 09:42:19

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 2/2] hwmon: adt7411: add MODULE_DEVICE_TABLE

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 <[email protected]>
> >
> > Applied.
>
> That was fast :)
>
> FWIW
>
> Acked-by: Wolfram Sang <[email protected]>
>
Thanks!

Guenter