Name

platform_device_add_properties — add built-in properties to a platform device

Synopsis

int platform_device_add_properties (struct platform_device * pdev,
 const struct property_set * pset);
 

Arguments

pdev

platform device to add properties to

pset

properties to add

Description

The function will take deep copy of the properties in pset and attach the copy to the platform device. The memory associated with properties will be freed when the platform device is released.