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

Message ID 4dd80fc1d4382d4a6ef5cccd43ce1736c60e5507.1531395196.git.michal.simek@xilinx.com
State New
Headers show
Series
  • [U-Boot] gpio: zynq: Fix typo in one error message
Related show

Commit Message

Michal Simek July 12, 2018, 11:33 a.m.
Just fix error message.

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

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

Patch

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;
 	}