1 #ifndef __LUNAIX_DEVTREE_TOP_H
2 #define __LUNAIX_DEVTREE_TOP_H
7 #ifdef CONFIG_USE_DEVICETREE
10 #include <lunaix/ds/hashtable.h>
11 #include <lunaix/ds/list.h>
12 #include <klibc/hash.h>
14 typedef struct dtn* devtree_link_t;
16 struct dtm_driver_info
18 struct list_node node;
22 struct dtm_driver_record
24 struct hlist_node node;
25 struct list_head infos;
26 struct device_def* def;
30 dtm_register_entry(struct device_def* def, const char* pattern);
34 #include <lunaix/types.h>
36 typedef void* devtree_link_t;
39 dtm_register_entry(struct device_def* def, const char* pattern)
46 #endif /* __LUNAIX_DEVTREE_TOP_H */