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

NAME

6       platform_device_add_data - add platform-specific data to a platform
7       device
8

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

25       Add a copy of platform specific data to the platform device's
26       platform_data pointer. The memory associated with the platform data
27       will be freed when the platform device is released.
28
30Kernel Hackers Manual 2.6.       November 2011         PLATFORM_DEVICE_ADD_(9)
Impressum