summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/i2c-imx233.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/i2c-imx233.c')
-rw-r--r--firmware/target/arm/imx233/i2c-imx233.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/imx233/i2c-imx233.c b/firmware/target/arm/imx233/i2c-imx233.c
index 054ce09a28..d087c94793 100644
--- a/firmware/target/arm/imx233/i2c-imx233.c
+++ b/firmware/target/arm/imx233/i2c-imx233.c
@@ -84,10 +84,10 @@ void imx233_i2c_init(void)
{
BF_SET(I2C_CTRL0, SFTRST);
/* setup pins (must be done when shutdown) */
- imx233_pinctrl_acquire_pin(0, 30, "i2c");
- imx233_pinctrl_acquire_pin(0, 31, "i2c");
- imx233_set_pin_function(0, 30, PINCTRL_FUNCTION_MAIN);
- imx233_set_pin_function(0, 31, PINCTRL_FUNCTION_MAIN);
+ imx233_pinctrl_acquire(0, 30, "i2c");
+ imx233_pinctrl_acquire(0, 31, "i2c");
+ imx233_pinctrl_set_function(0, 30, PINCTRL_FUNCTION_MAIN);
+ imx233_pinctrl_set_function(0, 31, PINCTRL_FUNCTION_MAIN);
/* clear softreset */
imx233_reset_block(&HW_I2C_CTRL0);
/* Errata: