1PLATFORM_DEVICE_ADD_(9) Device drivers infrastructure PLATFORM_DEVICE_ADD_(9)
2
3
4
6 platform_device_add_properties - add built-in properties to a platform
7 device
8
10 int platform_device_add_properties(struct platform_device * pdev,
11 struct property_entry * properties);
12
14 pdev
15 platform device to add properties to
16
17 properties
18 null terminated array of properties to add
19
21 The function will take deep copy of properties and attach the copy to
22 the platform device. The memory associated with properties will be
23 freed when the platform device is released.
24
26Kernel Hackers Manual 3.10 June 2019 PLATFORM_DEVICE_ADD_(9)