From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: Re: [PATCH] i2c driver changes for 2.5.67
Date: Wed, 9 Apr 2003 15:31:39 -0700 [thread overview]
Message-ID: <10499274991425@kroah.com> (raw)
In-Reply-To: <10499274992999@kroah.com>
ChangeSet 1.1033.5.2, 2003/04/07 15:56:32-07:00, greg@kroah.com
i2c: fix up compile error in scx200_i2c driver.
drivers/i2c/scx200_i2c.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff -Nru a/drivers/i2c/scx200_i2c.c b/drivers/i2c/scx200_i2c.c
--- a/drivers/i2c/scx200_i2c.c Wed Apr 9 15:16:24 2003
+++ b/drivers/i2c/scx200_i2c.c Wed Apr 9 15:16:24 2003
@@ -82,9 +82,11 @@
static struct i2c_adapter scx200_i2c_ops = {
.owner = THIS_MODULE,
- .name = "NatSemi SCx200 I2C",
.id = I2C_HW_B_VELLE,
.algo_data = &scx200_i2c_data,
+ .dev = {
+ .name = "NatSemi SCx200 I2C",
+ },
};
int scx200_i2c_init(void)
@@ -110,7 +112,7 @@
if (i2c_bit_add_bus(&scx200_i2c_ops) < 0) {
printk(KERN_ERR NAME ": adapter %s registration failed\n",
- scx200_i2c_ops.name);
+ scx200_i2c_ops.dev.name);
return -ENODEV;
}
next prev parent reply other threads:[~2003-04-09 22:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-09 22:31 [BK PATCH] i2c driver changes for 2.5.67 Greg KH
2003-04-09 22:31 ` [PATCH] " Greg KH
2003-04-09 22:31 ` Greg KH
2003-04-09 22:31 ` Greg KH
2003-04-09 22:31 ` Greg KH [this message]
2003-04-09 22:31 ` Greg KH
2003-04-09 22:31 ` Greg KH
2003-04-09 22:31 ` Greg KH
2003-04-09 22:31 ` Greg KH
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=10499274991425@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sensors@stimpy.netroedge.com \
/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