Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(driver): Fix broken compilation for MAX7318 driver #1921

Merged
merged 2 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading