Skip to content
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
2 changes: 1 addition & 1 deletion drivers/mipi_dsi/dsi_mcux.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ static ssize_t dsi_mcux_transfer(const struct device *dev, uint8_t channel,

}

static struct mipi_dsi_driver_api dsi_mcux_api = {
static DEVICE_API(mipi_dsi, dsi_mcux_api) = {
.attach = dsi_mcux_attach,
.transfer = dsi_mcux_transfer,
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/mipi_dsi/dsi_mcux_2l.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ static ssize_t dsi_mcux_transfer(const struct device *dev, uint8_t channel,

}

static struct mipi_dsi_driver_api dsi_mcux_api = {
static DEVICE_API(mipi_dsi, dsi_mcux_api) = {
.attach = dsi_mcux_attach,
.detach = dsi_mcux_detach,
.transfer = dsi_mcux_transfer,
Expand Down
2 changes: 1 addition & 1 deletion drivers/mipi_dsi/dsi_stm32.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ static ssize_t mipi_dsi_stm32_transfer(const struct device *dev, uint8_t channel
return len;
}

static struct mipi_dsi_driver_api dsi_stm32_api = {
static DEVICE_API(mipi_dsi, dsi_stm32_api) = {
.attach = mipi_dsi_stm32_attach,
.transfer = mipi_dsi_stm32_transfer,
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/mipi_dsi/dsi_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static int vnd_mipi_dsi_detach(const struct device *dev, uint8_t channel,
return -ENOTSUP;
}

static struct mipi_dsi_driver_api vnd_mipi_dsi_api = {
static DEVICE_API(mipi_dsi, vnd_mipi_dsi_api) = {
.attach = vnd_mipi_dsi_attach,
.transfer = vnd_mipi_dsi_transfer,
.detach = vnd_mipi_dsi_detach,
Expand Down
Loading