Query: devres_add
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DEVRES_ADD(9) Driver Basics DEVRES_ADD(9)NAMEdevres_add - Register device resourceSYNOPSISvoid devres_add(struct device * dev, void * res);ARGUMENTSdev Device to add resource to res Resource to registerDESCRIPTIONRegister devres res to dev. res should have been allocated using devres_alloc. On driver detach, the associated release function will be invoked and devres will be freed automatically.COPYRIGHTKernel Hackers Manual 2.6. July 2010 DEVRES_ADD(9)