diff options
author | ian <ian@FreeBSD.org> | 2017-03-01 21:19:46 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2017-03-01 21:19:46 +0000 |
commit | 38872aacb228325be611150c7b3129b8c1680e5d (patch) | |
tree | adf0491485d4664d8a19475c986379ee5ac8d5b8 | |
parent | 2d33dfd7e9d89d3a151a14912c61ec597c229c88 (diff) | |
download | FreeBSD-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.
-rw-r--r-- | sys/arm/freescale/imx/imx_gpio.c | 2 |
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 |