base.h
来自「Linux Kernel 2.6.9 for OMAP1710」· C头文件 代码 · 共 19 行
H
19 行
extern int bus_add_device(struct device * dev);extern void bus_remove_device(struct device * dev);extern int bus_add_driver(struct device_driver *);extern void bus_remove_driver(struct device_driver *);static inline struct class_device *to_class_dev(struct kobject *obj){ return container_of(obj, struct class_device, kobj);}static inlinestruct class_device_attribute *to_class_dev_attr(struct attribute *_attr){ return container_of(_attr, struct class_device_attribute, attr);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?