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/fpga/fpga_altera_agilex_bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ static int altera_fpga_init(const struct device *dev)
return 0;
}

static const struct fpga_driver_api altera_fpga_api = {
static DEVICE_API(fpga, altera_fpga_api) = {
.on = altera_fpga_on,
.off = altera_fpga_off,
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/fpga/fpga_eos_s3.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static int eos_s3_fpga_init(const struct device *dev)

static struct quickfeather_fpga_data fpga_data;

static const struct fpga_driver_api eos_s3_api = {
static DEVICE_API(fpga, eos_s3_api) = {
.reset = eos_s3_fpga_reset,
.load = eos_s3_fpga_load,
.get_status = eos_s3_fpga_get_status,
Expand Down
2 changes: 1 addition & 1 deletion drivers/fpga/fpga_ice40_bitbang.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ static int fpga_ice40_load(const struct device *dev, uint32_t *image_ptr, uint32
return ret;
}

static const struct fpga_driver_api fpga_ice40_api = {
static DEVICE_API(fpga, fpga_ice40_api) = {
.get_status = fpga_ice40_get_status,
.reset = fpga_ice40_reset,
.load = fpga_ice40_load,
Expand Down
2 changes: 1 addition & 1 deletion drivers/fpga/fpga_ice40_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ static int fpga_ice40_load(const struct device *dev, uint32_t *image_ptr, uint32
return ret;
}

static const struct fpga_driver_api fpga_ice40_api = {
static DEVICE_API(fpga, fpga_ice40_api) = {
.get_status = fpga_ice40_get_status,
.reset = fpga_ice40_reset,
.load = fpga_ice40_load,
Expand Down
2 changes: 1 addition & 1 deletion drivers/fpga/fpga_mpfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ static struct mpfs_fpga_config fpga_config = {
.mailbox = DT_INST_REG_ADDR_BY_IDX(0, 2),
};

static const struct fpga_driver_api mpfs_fpga_api = {
static DEVICE_API(fpga, mpfs_fpga_api) = {
.reset = mpfs_fpga_reset,
.load = mpfs_fpga_load,
.get_info = mpfs_fpga_get_info,
Expand Down
2 changes: 1 addition & 1 deletion drivers/fpga/fpga_slg471x5.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ static int fpga_slg471x5_reset(const struct device *dev)
return 0;
}

static const struct fpga_driver_api fpga_slg471x5_api = {
static DEVICE_API(fpga, fpga_slg471x5_api) = {
.get_status = fpga_slg471x5_get_status,
.reset = fpga_slg471x5_reset,
.load = fpga_slg471x5_load,
Expand Down
2 changes: 1 addition & 1 deletion drivers/fpga/fpga_zynqmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ static int zynqmp_fpga_init(const struct device *dev)

static struct zynqmp_fpga_data fpga_data;

static const struct fpga_driver_api zynqmp_api = {
static DEVICE_API(fpga, zynqmp_api) = {
.reset = zynqmp_fpga_reset,
.load = zynqmp_fpga_load,
.get_status = zynqmp_fpga_get_status,
Expand Down
Loading