From: Pete Eberlein <pete@sensoray.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH 03/16] go7007: Add MODULE_DEVICE_TABLE to the go7007 I2C modules
Date: Thu, 07 Oct 2010 09:33:06 -0700 [thread overview]
Message-ID: <1286469186.2477.9.camel@pete-desktop> (raw)
In-Reply-To: <1285337654-5044-4-git-send-email-laurent.pinchart@ideasonboard.com>
Acked-by: Pete Eberlein <pete@sensoray.com>
On Fri, 2010-09-24 at 16:14 +0200, Laurent Pinchart wrote:
> The device table is required to load modules based on modaliases.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> drivers/staging/go7007/wis-ov7640.c | 1 +
> drivers/staging/go7007/wis-saa7113.c | 1 +
> drivers/staging/go7007/wis-saa7115.c | 1 +
> drivers/staging/go7007/wis-sony-tuner.c | 1 +
> drivers/staging/go7007/wis-tw2804.c | 1 +
> drivers/staging/go7007/wis-tw9903.c | 1 +
> drivers/staging/go7007/wis-uda1342.c | 1 +
> 7 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/staging/go7007/wis-ov7640.c b/drivers/staging/go7007/wis-ov7640.c
> index 4f0cbdd..6bc9470 100644
> --- a/drivers/staging/go7007/wis-ov7640.c
> +++ b/drivers/staging/go7007/wis-ov7640.c
> @@ -81,6 +81,7 @@ static const struct i2c_device_id wis_ov7640_id[] = {
> { "wis_ov7640", 0 },
> { }
> };
> +MODULE_DEVICE_TABLE(i2c, wis_ov7640_id);
>
> static struct i2c_driver wis_ov7640_driver = {
> .driver = {
> diff --git a/drivers/staging/go7007/wis-saa7113.c b/drivers/staging/go7007/wis-saa7113.c
> index 72f5c1f..05e0e10 100644
> --- a/drivers/staging/go7007/wis-saa7113.c
> +++ b/drivers/staging/go7007/wis-saa7113.c
> @@ -308,6 +308,7 @@ static const struct i2c_device_id wis_saa7113_id[] = {
> { "wis_saa7113", 0 },
> { }
> };
> +MODULE_DEVICE_TABLE(i2c, wis_saa7113_id);
>
> static struct i2c_driver wis_saa7113_driver = {
> .driver = {
> diff --git a/drivers/staging/go7007/wis-saa7115.c b/drivers/staging/go7007/wis-saa7115.c
> index cd950b6..46cff59 100644
> --- a/drivers/staging/go7007/wis-saa7115.c
> +++ b/drivers/staging/go7007/wis-saa7115.c
> @@ -441,6 +441,7 @@ static const struct i2c_device_id wis_saa7115_id[] = {
> { "wis_saa7115", 0 },
> { }
> };
> +MODULE_DEVICE_TABLE(i2c, wis_saa7115_id);
>
> static struct i2c_driver wis_saa7115_driver = {
> .driver = {
> diff --git a/drivers/staging/go7007/wis-sony-tuner.c b/drivers/staging/go7007/wis-sony-tuner.c
> index 981c9b3..8f1b7d4 100644
> --- a/drivers/staging/go7007/wis-sony-tuner.c
> +++ b/drivers/staging/go7007/wis-sony-tuner.c
> @@ -692,6 +692,7 @@ static const struct i2c_device_id wis_sony_tuner_id[] = {
> { "wis_sony_tuner", 0 },
> { }
> };
> +MODULE_DEVICE_TABLE(i2c, wis_sony_tuner_id);
>
> static struct i2c_driver wis_sony_tuner_driver = {
> .driver = {
> diff --git a/drivers/staging/go7007/wis-tw2804.c b/drivers/staging/go7007/wis-tw2804.c
> index ee28a99..5b218c5 100644
> --- a/drivers/staging/go7007/wis-tw2804.c
> +++ b/drivers/staging/go7007/wis-tw2804.c
> @@ -331,6 +331,7 @@ static const struct i2c_device_id wis_tw2804_id[] = {
> { "wis_tw2804", 0 },
> { }
> };
> +MODULE_DEVICE_TABLE(i2c, wis_tw2804_id);
>
> static struct i2c_driver wis_tw2804_driver = {
> .driver = {
> diff --git a/drivers/staging/go7007/wis-tw9903.c b/drivers/staging/go7007/wis-tw9903.c
> index 80d4726..9230f4a 100644
> --- a/drivers/staging/go7007/wis-tw9903.c
> +++ b/drivers/staging/go7007/wis-tw9903.c
> @@ -313,6 +313,7 @@ static const struct i2c_device_id wis_tw9903_id[] = {
> { "wis_tw9903", 0 },
> { }
> };
> +MODULE_DEVICE_TABLE(i2c, wis_tw9903_id);
>
> static struct i2c_driver wis_tw9903_driver = {
> .driver = {
> diff --git a/drivers/staging/go7007/wis-uda1342.c b/drivers/staging/go7007/wis-uda1342.c
> index 5c4eb49..0127be2 100644
> --- a/drivers/staging/go7007/wis-uda1342.c
> +++ b/drivers/staging/go7007/wis-uda1342.c
> @@ -86,6 +86,7 @@ static const struct i2c_device_id wis_uda1342_id[] = {
> { "wis_uda1342", 0 },
> { }
> };
> +MODULE_DEVICE_TABLE(i2c, wis_uda1342_id);
>
> static struct i2c_driver wis_uda1342_driver = {
> .driver = {
next prev parent reply other threads:[~2010-10-07 16:39 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-24 14:13 [PATCH 00/16] Use modaliases to load I2C modules - please review Laurent Pinchart
2010-09-24 14:13 ` [PATCH 01/16] v4l: Load I2C modules based on modalias Laurent Pinchart
2010-09-24 14:14 ` [PATCH 02/16] v4l: Remove hardcoded module names passed to v4l2_i2c_new_subdev* Laurent Pinchart
2010-09-24 14:14 ` [PATCH 03/16] go7007: Add MODULE_DEVICE_TABLE to the go7007 I2C modules Laurent Pinchart
2010-10-07 16:33 ` Pete Eberlein [this message]
2010-09-24 14:14 ` [PATCH 04/16] go7007: Fix the TW2804 I2C type name Laurent Pinchart
2010-10-07 16:33 ` Pete Eberlein
2010-09-24 14:14 ` [PATCH 05/16] go7007: Don't use module names to load I2C modules Laurent Pinchart
2010-10-07 16:33 ` Pete Eberlein
2010-09-24 14:14 ` [PATCH 06/16] zoran: " Laurent Pinchart
2010-09-24 14:14 ` [PATCH 07/16] pvrusb2: " Laurent Pinchart
2010-10-03 20:07 ` Mike Isely
2010-09-24 14:14 ` [PATCH 08/16] sh_vou: " Laurent Pinchart
2010-09-24 14:14 ` [PATCH 09/16] radio-si4713: " Laurent Pinchart
2010-09-24 14:14 ` [PATCH 10/16] soc_camera: " Laurent Pinchart
2010-09-24 14:14 ` [PATCH 11/16] vpfe_capture: " Laurent Pinchart
2010-09-24 14:14 ` [PATCH 12/16] vpif_display: " Laurent Pinchart
2010-09-24 14:14 ` [PATCH 13/16] vpif_capture: " Laurent Pinchart
2010-09-24 14:14 ` [PATCH 14/16] ivtv: " Laurent Pinchart
2010-09-24 14:14 ` [PATCH 15/16] cx18: " Laurent Pinchart
2010-09-24 14:14 ` [PATCH 16/16] v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions Laurent Pinchart
2010-10-03 20:07 ` Mike Isely
2010-09-24 19:00 ` [PATCH 00/16] Use modaliases to load I2C modules - please review Guennadi Liakhovetski
2010-10-05 16:41 ` Guennadi Liakhovetski
2010-10-05 16:45 ` Jean Delvare
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=1286469186.2477.9.camel@pete-desktop \
--to=pete@sensoray.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox