__sdw_register_driver(9)
π __sdw_register_driver(9) π
okay so bestie, welcome to the Kernel API Manual page for __sdw_register_driver(9) β literally the moment you register a SoundWire Slave driver. β¨
πΈ NAME πΈ
__sdw_register_driver β register a SoundWire Slave driver π
π SYNOPSIS π
int __sdw_register_driver (struct sdw_driver *drv , struct module *owner
);
the way that signature just sits there being all official, no cap π«Ά
π¦ ARGUMENTS π¦
drvβ the driver to register. that's the main character right there πownerβ the owning module/driver. yep, it's giving ownership vibes π
π₯ RETURN π₯
zero on success, else a negative error code. so like, zero is the slay outcome, negative is the "oop" outcome π
π SEE ALSO π
- Kernel file
./drivers/soundwire/bus_type.c sdw_get_device_id(9)sdw_unregister_driver(9)
go peek at those if you're doing your little kernel lore deep dive, iykyk π§
mwah π source/version ./drivers/soundwire, date October 2026 β bye bestie, go register that driver responsibly π«Άπ
π¦ 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