From: Ben Dooks <ben-linux@fluff.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Fix compile of drivers/i2c/busses/i2c-s3c2410.c
Date: Wed, 20 Oct 2004 18:03:05 +0100 [thread overview]
Message-ID: <20041020170305.GA12953@fluff.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
Fixes missing <asm/io.h> and removes the references to I2C_ALGO_S3C2410
Thanks to Dimitry Andric <dimitry.andric@tomtom.com> for finding this.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
[-- Attachment #2: s3c-i2cfix1.patch --]
[-- Type: text/plain, Size: 733 bytes --]
--- linux-2.6.9-bk4-orig/drivers/i2c/busses/i2c-s3c2410.c 2004-10-20 15:50:29.000000000 +0100
+++ linux-2.6.9-bk4/drivers/i2c/busses/i2c-s3c2410.c 2004-10-20 16:29:03.000000000 +0100
@@ -36,6 +36,7 @@
#include <asm/hardware.h>
#include <asm/irq.h>
+#include <asm/io.h>
#include <asm/hardware/clock.h>
#include <asm/arch/regs-gpio.h>
@@ -534,7 +535,6 @@
static struct i2c_algorithm s3c24xx_i2c_algorithm = {
.name = "S3C2410-I2C-Algorithm",
- .id = I2C_ALGO_S3C2410,
.master_xfer = s3c24xx_i2c_xfer,
};
@@ -543,7 +543,6 @@
.wait = __WAIT_QUEUE_HEAD_INITIALIZER(s3c24xx_i2c.wait),
.adap = {
.name = "s3c2410-i2c",
- .id = I2C_ALGO_S3C2410,
.algo = &s3c24xx_i2c_algorithm,
.retries = 2,
},
reply other threads:[~2004-10-20 16:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20041020170305.GA12953@fluff.org \
--to=ben-linux@fluff.org \
--cc=linux-kernel@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
Powered by JetHome