File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1336,7 +1336,7 @@ static void espi_it8xxx2_flash_init(const struct device *dev)
1336
1336
/* eSPI driver registration */
1337
1337
static int espi_it8xxx2_init (const struct device * dev );
1338
1338
1339
- static const struct espi_driver_api espi_it8xxx2_driver_api = {
1339
+ static DEVICE_API ( espi , espi_it8xxx2_driver_api ) = {
1340
1340
.config = espi_it8xxx2_configure ,
1341
1341
.get_channel_status = espi_it8xxx2_channel_ready ,
1342
1342
.send_vwire = espi_it8xxx2_send_vwire ,
Original file line number Diff line number Diff line change @@ -1430,7 +1430,7 @@ static void espi_xec_periph_isr(const struct device *dev)
1430
1430
1431
1431
static int espi_xec_init (const struct device * dev );
1432
1432
1433
- static const struct espi_driver_api espi_xec_driver_api = {
1433
+ static DEVICE_API ( espi , espi_xec_driver_api ) = {
1434
1434
.config = espi_xec_configure ,
1435
1435
.get_channel_status = espi_xec_channel_ready ,
1436
1436
.send_vwire = espi_xec_send_vwire ,
Original file line number Diff line number Diff line change @@ -1250,7 +1250,7 @@ const struct espi_vw_isr m2s_vwires_isr[] = {
1250
1250
1251
1251
static int espi_xec_init (const struct device * dev );
1252
1252
1253
- static const struct espi_driver_api espi_xec_driver_api = {
1253
+ static DEVICE_API ( espi , espi_xec_driver_api ) = {
1254
1254
.config = espi_xec_configure ,
1255
1255
.get_channel_status = espi_xec_channel_ready ,
1256
1256
.send_vwire = espi_xec_send_vwire ,
Original file line number Diff line number Diff line change @@ -1347,7 +1347,7 @@ void npcx_espi_disable_interrupts(const struct device *dev)
1347
1347
/* eSPI driver registration */
1348
1348
static int espi_npcx_init (const struct device * dev );
1349
1349
1350
- static const struct espi_driver_api espi_npcx_driver_api = {
1350
+ static DEVICE_API ( espi , espi_npcx_driver_api ) = {
1351
1351
.config = espi_npcx_configure ,
1352
1352
.get_channel_status = espi_npcx_channel_ready ,
1353
1353
.send_vwire = espi_npcx_send_vwire ,
You can’t perform that action at this time.
0 commit comments