No need to pollute global namespace by thingm_fwinfo[]. Make it static.
Unified · Split
| @@ -31,7 +31,7 @@ struct thingm_fwinfo { · 30 unmodified lines | |||
| 31 | unsigned first; | 31 | unsigned first; |
| 32 | }; | 32 | }; |
| 33 | 33 | ||
| 34 | const struct thingm_fwinfo thingm_fwinfo[] = { | 34 | static const struct thingm_fwinfo thingm_fwinfo[] = { |
| 35 | { | 35 | { |
| 36 | .major = THINGM_MAJOR_MK1, | 36 | .major = THINGM_MAJOR_MK1, |
| 37 | .numrgb = 1, | 37 | .numrgb = 1, |