Skip to content

Commit

Permalink
fix(driver): Fix broken compilation for MAX7318 driver
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiayang authored Sep 28, 2023
1 parent 07c8283 commit 9b3d2cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
15 changes: 7 additions & 8 deletions app/module/drivers/gpio/gpio_max7318.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@

#include <errno.h>

#include <kernel.h>
#include <device.h>
#include <init.h>
#include <sys/byteorder.h>
#include <drivers/gpio.h>
#include <drivers/i2c.h>
#include <drivers/ext_power.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/i2c.h>

#define LOG_LEVEL CONFIG_GPIO_LOG_LEVEL
#include <logging/log.h>
#include <zephyr/logging/log.h>

LOG_MODULE_REGISTER(gpio_max7318);

Expand Down
3 changes: 0 additions & 3 deletions app/module/dts/bindings/gpio/maxim,max7318.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ compatible: "maxim,max7318"
include: [gpio-controller.yaml, i2c-device.yaml]

properties:
label:
required: true

"#gpio-cells":
const: 2

Expand Down

0 comments on commit 9b3d2cb

Please sign in to comment.