summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-07-12 12:30:34 +0200
committerMichal Simek <michal.simek@xilinx.com>2018-07-19 10:49:54 +0200
commit946205a8570bd5bf961aa0da8d82e0d0aa26f8c6 (patch)
treead834c578b39677e82d84f3ccd3c1d729919f48e
parent71c52f2949b1b4e657e08d7130e50f315b857dc7 (diff)
gpio: zynq: Fix typo in one error message
Just fix error message. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--drivers/gpio/zynq_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/zynq_gpio.c b/drivers/gpio/zynq_gpio.c
index afba4580f5..9a91554478 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;
}