Query: device_initialize
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DEVICE_INITIALIZE(9) Device drivers infrastructure DEVICE_INITIALIZE(9)NAMEdevice_initialize - init device structure.SYNOPSISvoid device_initialize(struct device * dev);ARGUMENTSdev device.DESCRIPTIONThis prepares the device for use by other layers by initializing its fields. It is the first half of device_register, if called by that function, though it can also be called separately, so one may use dev's fields. In particular, get_device/put_device may be used for reference counting of dev after calling this function.NOTEUse put_device to give up your reference instead of freeing dev directly once you have called this function.COPYRIGHTKernel Hackers Manual 2.6. July 2010 DEVICE_INITIALIZE(9)
Related Man Pages |
---|
mkdevalloc(1m) - opensolaris |
device_create_vargs(9) - centos |
device_schedule_callback_owner(9) - centos |
struct_device_driver(9) - centos |
struct_input_polled_dev(9) - suse |
Similar Topics in the Unix Linux Community |
---|
Compiling virtual network adapter driver problem (net_device struct) |