__devm_auxil...evice_create(9)
π NAME π
ok so bestie, welcome to the Kernel API Manual β¨ β this page is literally called __devm_auxil...evice_create(9) (yes the title is truncated, that's just how it's printed, don't come for me π) and it's all about __devm_auxiliary_device_create β the managed-device-creating icon of the auxiliary bus π
__devm_auxiliary_device_create β create a managed device on the auxiliary bus π¦
β¨ SYNOPSIS β¨
struct auxiliary_device * __devm_auxiliary_device_create (struct device
*dev , const char *modname , const char *devname , void *platform_data ,
int id );
like. look at her. five whole arguments. main character energy fr fr π
π ARGUMENTS π
devβ the parent device π«Ά (yes, everything has a parent, it's giving family tree)modnameβ the module name, and it's the one used to build up the auxiliary driver name π₯devnameβ the auxiliary bus device name πΈplatform_dataβ the auxiliary bus device platform data πidβ the auxiliary bus device id β
π DESCRIPTION π
okay so this one is a device managed helper that creates an auxiliary bus device, no cap π§ it's literally the glow-up version where the cleanup is handled for you.
The device it creates matches driver 'modname.devname' on the auxiliary bus π β that's the whole vibe. modname, dot, devname. periodt.
π SEE ALSO π
- Kernel file
./drivers/base/auxiliary.cβ that's the source, go read her π PURPOSE(9)USAGE(9)EXAMPLE(9)auxiliary_device_init(9)__auxiliary_device_add(9)__auxiliary_driver_register(9)auxiliary_driver_unregister(9)auxiliary_device_create(9)auxiliary_device_destroy(9)dev_is_auxiliary(9)
iykyk ππ
and that's the whole page bestie!! π it lives in ./drivers/base, dated October 2026, and it's filed under __devm_auxil...evice_create(9) in case you need to find her again π
π«Ά slay, go forth and create managed auxiliary devices β¨π
π¦ 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