soc_device_register(9)
π
soc_device_register(9) π
okay so this is the Kernel API Manual page for soc_device_register(9), bestie π«Ά it's giving βregister an SoC as a device,β and honestly? iconic.
β¨ NAME β¨
soc_device_register β registers an SoC as a device π no cap, that's the whole assignment, periodt.
π¦ SYNOPSIS π¦
here's the exact signature, character-for-character, because we do not mess with code in this house π
struct soc_device * soc_device_register (struct soc_device_attribute *soc_plat_dev_attr );
πΈ ARGUMENTS πΈ
soc_plat_dev_attrβ the attributes passed from platform to be attributed to a SoC π«Ά
π₯ RETURN π₯
NULLif the SoC bus is not yet registered π«- on success, the newly allocated
struct soc_devicepointer π - on failure, a negative error code as an
ERR_PTRπ
bestie, the return values are literally the plot β read them before you start acting brand new π
π SEE ALSO π
- Kernel file
./include/linux/sys_soc.hπ soc_device_unregister(9)πsoc_device_to_device(9)π¦soc_attr_read_machine(9)β
okay that's the whole page, bestie π«Ά source/version: ./include/linux Β· date: October 2026 Β· title: soc_device_register(9) β mwah π
π¦ 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