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/edac/edac_ibecc.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ static int notify_callback_set(const struct device *dev,
return 0;
}

static const struct edac_driver_api api = {
static DEVICE_API(edac, api) = {
#if defined(CONFIG_EDAC_ERROR_INJECT)
/* Error Injection functions */
.inject_set_param1 = inject_set_param1,
Expand Down
2 changes: 1 addition & 1 deletion tests/subsys/edac/ibecc/src/dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* EDAC dummy is used for coverage tests for -ENOSYS returns
*/

static const struct edac_driver_api edac_dummy_api = { 0 };
static DEVICE_API(edac, edac_dummy_api) = { 0 };

DEVICE_DEFINE(dummy_edac, "dummy_edac", NULL, NULL,
NULL, NULL,
Expand Down
Loading