drivers: edac: Place API into iterable section
Add wrapper DEVICE_API macro to all edac_driver_api instances. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
3c0cdd14d8
commit
856f4f8b59
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue