Commit 93deeea
committed
mb/novacustom/nuc_box: use if (CONFIG()) for SMBIOS guard
get_smbios_data is unconditionally present in struct device_operations,
so a preprocessor guard is not needed. Replace #if CONFIG() / #endif
with if (CONFIG()) so the compiler checks both branches.
Upstream-Status: Pending
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>1 parent d1d73c5 commit 93deeea
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
0 commit comments