[U-Boot] [PATCH] gpio: zynq: Fix typo in one error message

Michal Simek michal.simek at xilinx.com
Thu Jul 12 11:33:20 UTC 2018


Just fix error message.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 drivers/gpio/zynq_gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/zynq_gpio.c b/drivers/gpio/zynq_gpio.c
index afba4580f570..9a915544784d 100644
--- a/drivers/gpio/zynq_gpio.c
+++ b/drivers/gpio/zynq_gpio.c
@@ -178,7 +178,7 @@ static inline void zynq_gpio_get_bank_pin(unsigned int pin_num,
 	}
 
 	if (bank >= priv->p_data->max_bank) {
-		printf("Inavlid bank and pin num\n");
+		printf("Invalid bank and pin num\n");
 		*bank_num = 0;
 		*bank_pin_num = 0;
 	}
-- 
1.9.1



More information about the U-Boot mailing list