?? lddbus.h
字號:
/* * Definitions for the virtual LDD bus. * * $Id: lddbus.h,v 1.4 2004/08/20 18:49:44 corbet Exp $ *///extern struct device ldd_bus;extern struct bus_type ldd_bus_type;/* * The LDD driver type. */struct ldd_driver { char *version; struct module *module; struct device_driver driver; struct driver_attribute version_attr;};#define to_ldd_driver(drv) container_of(drv, struct ldd_driver, driver);/* * A device type for things "plugged" into the LDD bus. */struct ldd_device { char *name; struct ldd_driver *driver; struct device dev;};#define to_ldd_device(dev) container_of(dev, struct ldd_device, dev);extern int register_ldd_device(struct ldd_device *);extern void unregister_ldd_device(struct ldd_device *);extern int register_ldd_driver(struct ldd_driver *);extern void unregister_ldd_driver(struct ldd_driver *);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -