scripts: Replace hard-coded subsystem list with __subsystem annotations.
This change removes the hardcoded subsystem list in gen_kobject_list.py favor of marking the relevant driver API structs with the _subsystem sentinel. Signed-off-by: Corey Wharton <coreyw7@fb.com>
This commit is contained in:
parent
ccd15df510
commit
86bfc489f4
25 changed files with 30 additions and 48 deletions
|
@ -24,7 +24,7 @@
|
|||
#include "cipher_structs.h"
|
||||
|
||||
/* The API a crypto driver should implement */
|
||||
struct crypto_driver_api {
|
||||
__subsystem struct crypto_driver_api {
|
||||
int (*query_hw_caps)(struct device *dev);
|
||||
|
||||
/* Setup a crypto session */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue