summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2017-03-01 21:19:46 +0000
committerian <ian@FreeBSD.org>2017-03-01 21:19:46 +0000
commit38872aacb228325be611150c7b3129b8c1680e5d (patch)
treeadf0491485d4664d8a19475c986379ee5ac8d5b8 /sys/arm
parent2d33dfd7e9d89d3a151a14912c61ec597c229c88 (diff)
downloadFreeBSD-src-38872aacb228325be611150c7b3129b8c1680e5d.zip
FreeBSD-src-38872aacb228325be611150c7b3129b8c1680e5d.tar.gz
MFC r313917:
Change the naming of imx{5,6} gpio pins to exactly match the names used in the reference manual.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/freescale/imx/imx_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/freescale/imx/imx_gpio.c b/sys/arm/freescale/imx/imx_gpio.c
index 922548e..7da47e6 100644
--- a/sys/arm/freescale/imx/imx_gpio.c
+++ b/sys/arm/freescale/imx/imx_gpio.c
@@ -728,7 +728,7 @@ imx51_gpio_attach(device_t dev)
(READ4(sc, IMX_GPIO_OE_REG) & (1U << i)) ? GPIO_PIN_OUTPUT :
GPIO_PIN_INPUT;
snprintf(sc->gpio_pins[i].gp_name, GPIOMAXNAME,
- "imx_gpio%d.%d", unit, i);
+ "GPIO%d_IO%02d", unit + 1, i);
}
#ifdef INTRNG
OpenPOWER on IntegriCloud