From: Ben Dooks Fixes missing and removes the references to I2C_ALGO_S3C2410 Thanks to Dimitry Andric for finding this. Signed-off-by: Ben Dooks Signed-off-by: Andrew Morton --- 25-akpm/drivers/i2c/busses/i2c-s3c2410.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/i2c/busses/i2c-s3c2410.c~fix-compile-of-drivers-i2c-busses-i2c-s3c2410c drivers/i2c/busses/i2c-s3c2410.c --- 25/drivers/i2c/busses/i2c-s3c2410.c~fix-compile-of-drivers-i2c-busses-i2c-s3c2410c Wed Oct 20 16:23:37 2004 +++ 25-akpm/drivers/i2c/busses/i2c-s3c2410.c Wed Oct 20 16:23:37 2004 @@ -36,6 +36,7 @@ #include #include +#include #include #include @@ -534,7 +535,6 @@ static int s3c24xx_i2c_xfer(struct i2c_a static struct i2c_algorithm s3c24xx_i2c_algorithm = { .name = "S3C2410-I2C-Algorithm", - .id = I2C_ALGO_S3C2410, .master_xfer = s3c24xx_i2c_xfer, }; @@ -543,7 +543,6 @@ static struct s3c24xx_i2c s3c24xx_i2c = .wait = __WAIT_QUEUE_HEAD_INITIALIZER(s3c24xx_i2c.wait), .adap = { .name = "s3c2410-i2c", - .id = I2C_ALGO_S3C2410, .algo = &s3c24xx_i2c_algorithm, .retries = 2, }, _