Query: platform_device_add_data
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_data - add platform-specific data to a platform deviceSYNOPSISint platform_device_add_data(struct platform_device * pdev, const void * data, size_t size);ARGUMENTSpdev platform device allocated by platform_device_alloc to add resources to data platform specific data for this platform device size size of platform specific dataDESCRIPTIONAdd a copy of platform specific data to the platform device's platform_data pointer. The memory associated with the platform data will be freed when the platform device is released.COPYRIGHTKernel Hackers Manual 2.6. July 2010 PLATFORM_DEVICE_ADD_(9)