Query: platform_device_add_resources
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PLATFORM_DEVICE_ADD_(9) Device drivers infrastructure PLATFORM_DEVICE_ADD_(9)NAMEplatform_device_add_resources - add resources to a platform deviceSYNOPSISint platform_device_add_resources(struct platform_device * pdev, struct resource * res, unsigned int num);ARGUMENTSpdev platform device allocated by platform_device_alloc to add resources to res set of resources that needs to be allocated for the device num number of resourcesDESCRIPTIONAdd a copy of the resources to the platform device. The memory associated with the resources will be freed when the platform device is released.COPYRIGHTKernel Hackers Manual 2.6. July 2010 PLATFORM_DEVICE_ADD_(9)