OMAP3: Correct name of omap34xx_gpios when using DM_GPIO
authorAdam Ford <aford173@gmail.com>
Sun, 9 Apr 2017 12:35:12 +0000 (07:35 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 27 Apr 2017 12:13:48 +0000 (08:13 -0400)
The name of the gpio bank under DM_GPIO appear to be a copy-paste error.
This changes the name of the gpio bank from am33xx_gpios to omap34xx_gpios.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-omap2/omap3/board.c

index f1436fbf519217a6fbed9f87911520a90fd51425..01df579df2814863569bb3cc54c6c911e21e1f4c 100644 (file)
@@ -46,7 +46,7 @@ static const struct omap_gpio_platdata omap34xx_gpio[] = {
        { 5, OMAP34XX_GPIO6_BASE },
 };
 
-U_BOOT_DEVICES(am33xx_gpios) = {
+U_BOOT_DEVICES(omap34xx_gpios) = {
        { "gpio_omap", &omap34xx_gpio[0] },
        { "gpio_omap", &omap34xx_gpio[1] },
        { "gpio_omap", &omap34xx_gpio[2] },