summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJesper Nilsson <jespern@axis.com>2014-10-07 13:42:35 +0200
committerJesper Nilsson <jespern@axis.com>2014-12-20 00:05:21 +0100
commitca36c1faddb48c478f7f8944b9b900fc72629310 (patch)
tree18fe7de40a3b45aeb7f134cc9761457f92b6465a /arch
parent3f10462f292e5d8f3bb2a19fa62f442bd8c4df5a (diff)
downloadop-kernel-dev-ca36c1faddb48c478f7f8944b9b900fc72629310.zip
op-kernel-dev-ca36c1faddb48c478f7f8944b9b900fc72629310.tar.gz
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 <jesper.nilsson@axis.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/cris/arch-v32/drivers/i2c.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/cris/arch-v32/drivers/i2c.h b/arch/cris/arch-v32/drivers/i2c.h
index c073cf4..d9cc856 100644
--- a/arch/cris/arch-v32/drivers/i2c.h
+++ b/arch/cris/arch-v32/drivers/i2c.h
@@ -2,7 +2,6 @@
#include <linux/init.h>
/* 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);
OpenPOWER on IntegriCloud