STRUCT CGBC_VERSION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct cgbc_version(9) β€” Kernel API Manual πŸŽ€

okay so bestie, we're looking at struct cgbc_version β€” it's literally the Board Controller device version structure and it's giving "tiny but essential" energy. three little unsigned char fields doing the absolute most. iykyk πŸ’–


✨ NAME ✨

struct cgbc_version β€” the Board Controller device version structure. that's it, that's the whole vibe. she's small, she's iconic, she holds version numbers. periodt. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

struct cgbc_version {
    unsigned char feature;
    unsigned char major;
    unsigned char minor;
 };

no cap, that's the entire thing. three bytes of pure main character energy. 🌸


πŸ’… Members πŸ’…

  • feature β€” the Board Controller feature number. the "which flavor are we even talking about" field, fr fr. πŸ“
  • major β€” the Board Controller major revision. this is the big-number glow-up field. when this changes, something real changed. πŸ”₯
  • minor β€” the Board Controller minor revision. the little tweak, the small polish, the subtle edit. still matters tho. ✨
ngl bestie, that's genuinely all three members. no hidden fields, no surprise padding lore, just these three. keep them exactly as written β€” unsigned char, not "some int, close enough". the kernel does not do "close enough". 😭

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/mfd/cgbc.h
  • struct cgbc_device_data(9) β€” the bigger sibling, go say hi. 🫢

and that's the whole page, bestie! πŸ’œ this little gem lives in the Kernel API Manual, comes from the kernel file ./include/linux/mfd, and is dated October 2026 β€” so go forth, read your version structs, and slay. πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from