From: Jean Delvare <khali@linux-fr.org>
To: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
Cc: linux-kernel@vger.kernel.org, ben-linux@fluff.org
Subject: Re: scx200_i2c driver fails to detect any i2c devices in 2.6.26 (new patch)
Date: Thu, 23 Oct 2008 20:03:51 +0200 [thread overview]
Message-ID: <20081023200351.29ecfb46@hyperion.delvare> (raw)
In-Reply-To: <20081023175552.GD5682@csclub.uwaterloo.ca>
On Thu, 23 Oct 2008 13:55:52 -0400, Lennart Sorensen wrote:
> The scx200_i2c driver is missing the .class parameter, which means no
> i2c drivers are willing to probe for devices on the bus and attach to
> them.
>
> This patch adds the missing .class parameter.
>
> Signed-off-by: Len Sorensen <lsorense@csclub.uwaterloo.ca>
>
> --- scx200_i2c.c 2008-05-20 09:39:24.000000000 -0400
> +++ scx200_i2c.c.new 2008-10-23 13:51:57.000000000 -0400
> @@ -81,6 +81,7 @@
>
> static struct i2c_adapter scx200_i2c_ops = {
> .owner = THIS_MODULE,
> + .class = I2C_CLASS_HWMON | I2C_CLASS_SPD,
> .id = I2C_HW_B_SCX200,
> .algo_data = &scx200_i2c_data,
> .name = "NatSemi SCx200 I2C",
>
Applied, thanks. I'll also take care to get this patch into
2.6.27-stable and 2.6.26-stable.
--
Jean Delvare
prev parent reply other threads:[~2008-10-23 18:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-23 16:54 scx200_i2c driver fails to detect any i2c devices in 2.6.26 Lennart Sorensen
2008-10-23 17:20 ` Jean Delvare
2008-10-23 17:25 ` Lennart Sorensen
2008-10-23 17:35 ` Jean Delvare
2008-10-23 17:53 ` Lennart Sorensen
2008-10-23 17:55 ` scx200_i2c driver fails to detect any i2c devices in 2.6.26 (new patch) Lennart Sorensen
2008-10-23 18:03 ` Jean Delvare [this message]
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=20081023200351.29ecfb46@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=ben-linux@fluff.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lsorense@csclub.uwaterloo.ca \
/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.