userspace: add kobject flag for drivers
This new flag will indicate that the kernel object represents an instance of a device driver object. Fixes: #14037 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
0b2725a4dc
commit
7875707a98
2 changed files with 9 additions and 5 deletions
|
@ -195,6 +195,7 @@ struct _k_object_assignment {
|
|||
#define K_OBJ_FLAG_INITIALIZED BIT(0)
|
||||
#define K_OBJ_FLAG_PUBLIC BIT(1)
|
||||
#define K_OBJ_FLAG_ALLOC BIT(2)
|
||||
#define K_OBJ_FLAG_DRIVER BIT(3)
|
||||
|
||||
/**
|
||||
* Lookup a kernel object and init its metadata if it exists
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue