If CONFIG_PM not set then clang warns this structure is unused.
Unified · Split
| @@ -170,7 +170,7 @@ static const struct { · 169 unmodified lines | ||
| 170 | 170 | {1000, 0, 0x0E}, |
| 171 | 171 | {2000, 0, 0x0F} }; |
| 172 | 172 | |
| 173 | −static const struct { | |
| 173 | +static __maybe_unused const struct { | |
| 174 | 174 | int bw_bits; |
| 175 | 175 | int msec; |
| 176 | 176 | } bmc150_accel_sample_upd_time[] = { {0x08, 64}, |