1PLATFORM_DEVICE_ADD_(9)  Device drivers infrastructure PLATFORM_DEVICE_ADD_(9)
2
3
4

NAME

6       platform_device_add_data -
7

SYNOPSIS

9       int platform_device_add_data(struct platform_device * pdev,
10                                    const void * data, size_t size);
11

ARGUMENTS

13       pdev
14           platform device allocated by platform_device_alloc to add resources
15           to
16
17       data
18           platform specific data for this platform device
19
20       size
21           size of platform specific data
22

DESCRIPTION

24       Add a copy of platform specific data to the platform deviceĀ“s
25       platform_data pointer. The memory associated with the platform data
26       will be freed when the platform device is released.
27
29Kernel Hackers Manual 2.6.         June 2019           PLATFORM_DEVICE_ADD_(9)
Impressum