From: Jesper Nilsson Date: Tue, 7 Oct 2014 11:42:35 +0000 (+0200) Subject: CRISv32: Fix declaration mismatch X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ca36c1faddb48c478f7f8944b9b900fc72629310;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git CRISv32: Fix declaration mismatch Drop i2c_init from this header, it was declared non-static here, but static in the C-file. Signed-off-by: Jesper Nilsson --- diff --git a/arch/cris/arch-v32/drivers/i2c.h b/arch/cris/arch-v32/drivers/i2c.h index c073cf4ba016..d9cc856f89fb 100644 --- a/arch/cris/arch-v32/drivers/i2c.h +++ b/arch/cris/arch-v32/drivers/i2c.h @@ -2,7 +2,6 @@ #include /* High level I2C actions */ -int __init i2c_init(void); int i2c_write(unsigned char theSlave, void *data, size_t nbytes); int i2c_read(unsigned char theSlave, void *data, size_t nbytes); int i2c_writereg(unsigned char theSlave, unsigned char theReg, unsigned char theValue);