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 | {1000, 0, 0x0E}, | 170 | {1000, 0, 0x0E}, |
| 171 | {2000, 0, 0x0F} }; | 171 | {2000, 0, 0x0F} }; |
| 172 | 172 | ||
| 173 | static const struct { | 173 | static __maybe_unused const struct { |
| 174 | int bw_bits; | 174 | int bw_bits; |
| 175 | int msec; | 175 | int msec; |
| 176 | } bmc150_accel_sample_upd_time[] = { {0x08, 64}, | 176 | } bmc150_accel_sample_upd_time[] = { {0x08, 64}, |