commit | a1afaa8b478d96ef303f6dd30b7c159e4b3a009a | [log] [tgz] |
---|---|---|
author | Fabio Baltieri <fabiobaltieri@google.com> | Fri Sep 08 16:21:34 2023 +0000 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Sep 12 10:56:46 2023 +0200 |
tree | 35a315d22fea7b02f32fb4bbb05eac6997b6de03 | |
parent | 7ec624c3c47bb1e8ec950104838f5845997a77f8 [diff] |
drivers: ioapic: declare the device with DEVICE_DT_INST_DEFINE Use DEVICE_DT_INST_DEFINE instead of DEVICE_DEFINE to declare the device structure. This ensures that the device gets an ordinal and is initialized before any device depending on it. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>