summaryrefslogtreecommitdiff
path: root/chip/npcx/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/gpio.c')
-rw-r--r--chip/npcx/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/gpio.c b/chip/npcx/gpio.c
index cae7b13fd2..db90583359 100644
--- a/chip/npcx/gpio.c
+++ b/chip/npcx/gpio.c
@@ -670,7 +670,7 @@ void gpio_interrupt(struct npcx_wui wui_int)
* Command used to disable input buffer of gpios one by one to
* investigate power consumption
*/
-static int command_gpiodisable(int argc, char **argv)
+static int command_gpiodisable(int argc, const char **argv)
{
uint8_t i;
uint8_t offset;