Skip to content

Commit 5fe5126

Browse files
soburihenrikbrixandersen
authored andcommitted
driver: gpio: rt1718s: Create a log module with LOG_MODULE_REGISTER
Since the log module entity is not defined anywhere, LOG_MODULE_REGISTER should be used here instead of LOG_MODULE_DECLARE. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 01d3312 commit 5fe5126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpio_rt1718s_port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <zephyr/drivers/gpio.h>
1616
#include <zephyr/drivers/gpio/gpio_utils.h>
1717
#include <zephyr/logging/log.h>
18-
LOG_MODULE_DECLARE(gpio_rt1718s_port, CONFIG_GPIO_LOG_LEVEL);
18+
LOG_MODULE_REGISTER(gpio_rt1718s_port, CONFIG_GPIO_LOG_LEVEL);
1919

2020
/* Driver config */
2121
struct gpio_rt1718s_port_config {

0 commit comments

Comments
 (0)