summaryrefslogtreecommitdiff
path: root/src/soc/cavium/cn81xx/twsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/cavium/cn81xx/twsi.c')
-rw-r--r--src/soc/cavium/cn81xx/twsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/cavium/cn81xx/twsi.c b/src/soc/cavium/cn81xx/twsi.c
index 7137531d49..afa98c6adc 100644
--- a/src/soc/cavium/cn81xx/twsi.c
+++ b/src/soc/cavium/cn81xx/twsi.c
@@ -667,7 +667,7 @@ int twsi_init(unsigned int bus, enum i2c_speed hz)
return 0;
}
-int platform_i2c_transfer(unsigned bus, struct i2c_msg *segments,
+int platform_i2c_transfer(unsigned int bus, struct i2c_msg *segments,
int seg_count)
{
int result;