table of contents
other versions
- jessie 3.16.56-1+deb8u1
PLATFORM_DEVICE_ADD_(9) | Device drivers infrastructure | PLATFORM_DEVICE_ADD_(9) |
NAME¶
platform_device_add_data - add platform-specific data to a platform deviceSYNOPSIS¶
int
platform_device_add_data(struct platform_device * pdev,
const void * data,
size_t size);
ARGUMENTS¶
pdevplatform device allocated by platform_device_alloc to add
resources to
data
platform specific data for this platform device
size
size of platform specific data
DESCRIPTION¶
Add 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.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |