Commit 9e928e4
committed
drivers: add modules.h for IS_USED macro
Fix compilation errors on native boards caused by missing modules.h
include in driver headers that use IS_USED() in preprocessor directives.
The IS_USED macro is defined in modules.h and must be included in any
header file that uses it in #if directives.
Error: "missing binary operator before token '('"
Signed-off-by: Gilles DOFFE <[email protected]>1 parent e1b2d5c commit 9e928e4
3 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| 349 | + | |
349 | 350 | | |
350 | 351 | | |
351 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| 403 | + | |
403 | 404 | | |
404 | 405 | | |
405 | 406 | | |
| |||
0 commit comments