platform_device_add_properties(9) 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