From dd7ecd9aef64b967c102808a9727a68f53025ad2 Mon Sep 17 00:00:00 2001 From: guoshichao Date: Mon, 22 Jul 2024 14:33:14 +0800 Subject: [PATCH] greenhills: fix the ioexpander/gpio.h build warning CC: mm_heap/mm_brkaddr.c "/home/guoshichao/work_profile/vela_os/vela_car_4/nuttx/include/nuttx/ioexpander/gpio.h", line 159: warning #381-D: extra ";" ignored uint8_t gp_pintype; /* See enum gpio_pintype_e */; ^ Signed-off-by: guoshichao --- include/nuttx/ioexpander/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/ioexpander/gpio.h b/include/nuttx/ioexpander/gpio.h index ccb67de09f..f54f68cfd4 100644 --- a/include/nuttx/ioexpander/gpio.h +++ b/include/nuttx/ioexpander/gpio.h @@ -150,7 +150,7 @@ struct gpio_dev_s * driver when gpio_pin_register() is called. */ - uint8_t gp_pintype; /* See enum gpio_pintype_e */; + uint8_t gp_pintype; /* See enum gpio_pintype_e */ /* Writable storage used by the upper half driver */