drivers: gpio_pca95xx: add missing gpio_utils.h include
Include gpio_utils.h to fix a build failure: gpio_pca95xx.c:490:20: warning: implicit declaration of function 'GPIO_PORT_PIN_MASK_FROM_NGPIOS' [-Wimplicit-function-declaration] gpio_pca95xx.c:490:20: error: initializer element is not constant .port_pin_mask = GPIO_PORT_PIN_MASK_FROM_NGPIOS( DT_INST_##inst##_NXP_PCA95XX_NGPIOS), \ Signed-off-by: Göran Weinholt <goran.weinholt@endian.se>
This commit is contained in:
parent
3e4ac40149
commit
d3ff59d383
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@
|
|||
#include <drivers/gpio.h>
|
||||
#include <drivers/i2c.h>
|
||||
|
||||
#include "gpio_utils.h"
|
||||
|
||||
#define LOG_LEVEL CONFIG_GPIO_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(gpio_pca95xx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue