table of contents
PLATFORM_DEVICE_ADD_(9) | Device drivers infrastructure | PLATFORM_DEVICE_ADD_(9) |
NAME¶
platform_device_add_properties - add built-in properties to a platform device
SYNOPSIS¶
int platform_device_add_properties(struct platform_device * pdev, struct property_entry * properties);
ARGUMENTS¶
pdev
platform device to add properties to
properties
null terminated array of properties to add
DESCRIPTION¶
The function will take deep copy of properties and attach the copy to the platform device. The memory associated with properties will be freed when the platform device is released.
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |