STRUCT CGBC_VERSION(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms