[PATCH] I2C update for 2.6.10-rc1

Greg KH
2004-11-09T05:54:52Z

ChangeSet 1.2014.1.1, 2004/10/22 12:51:52-07:00, ben@fluff.org

[PATCH] I2C: Fix compile of drivers/i2c/busses/i2c-s3c2410.c

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>

drivers/i2c/busses/i2c-s3c2410.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)

diff -Nru a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
--- a/drivers/i2c/busses/i2c-s3c2410.c 2004-11-08 18:56:26 -08:00
+++ b/drivers/i2c/busses/i2c-s3c2410.c 2004-11-08 18:56:26 -08:00
@@ -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,
},