Skip to content

Commit 6d56b82

Browse files
msierszulskimbolivar-nordic
authored andcommitted
drivers: fpga: connect dts node with fpga driver
This commit connects the eos_s3 fpga driver with fpga dts node. Signed-off-by: Mateusz Sierszulski <[email protected]>
1 parent a19311f commit 6d56b82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

boards/arm/quick_feather/quick_feather.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
};
5252
};
5353

54-
fpga {
54+
fpga0: fpga {
5555
status = "okay";
5656
};
5757
};

drivers/fpga/fpga_eos_s3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,5 @@ static const struct fpga_driver_api eos_s3_api = {
142142
.get_info = eos_s3_fpga_get_info
143143
};
144144

145-
DEVICE_DEFINE(fpga, "FPGA", &eos_s3_fpga_init, NULL, &fpga_data, NULL, APPLICATION,
145+
DEVICE_DT_DEFINE(DT_NODELABEL(fpga0), &eos_s3_fpga_init, NULL, &fpga_data, NULL, APPLICATION,
146146
CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &eos_s3_api);

0 commit comments

Comments
 (0)