STRUCT FAUX_DEVICE(9)
π struct faux_device(9) β Kernel API Manual π
hey bestie π welcome to the struct faux_device(9) page, aka the Kernel API Manualβs little corner for a βfauxβ device. itβs giving very specific, very useful, and honestly kinda iconic β¨
πΈ NAME πΈ
struct faux_device β a βfauxβ device π
π«Ά SYNOPSIS π«Ά
struct faux_device {
struct device dev;
};
β¨ Members β¨
devβ internalstruct deviceof the object. thatβs the member, bestie, no cap π«Ά
π Description π
A simple faux device that can be created/destroyed. reach for it when a driver only needs to have a device to βhangβ something off β like, thatβs the whole assignment. it can be used for downloading firmware or other basic tasks. use this instead of a struct platform_device if the device has no resources assigned to it at all. periodt. π₯
π SEE ALSO π
- Kernel file
./include/linux/device/faux.h struct faux_device_ops(9)
later, bestie π this page comes from source/version ./include/linux/device and is dated October 2026 β struct faux_device(9) out πβ¨
π¦ 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