1PLATFORM_DEVICE_ALLO(9) Device drivers infrastructure PLATFORM_DEVICE_ALLO(9)
23
4
NAME
6platform_device_alloc -
7
SYNOPSIS
9struct platform_device * platform_device_alloc(const char * name,
10int id);
11
ARGUMENTS
13name
14base name of the device we´re adding
1516
id
17instance id
18
DESCRIPTION
20Create a platform device object which can have other objects attached
21to it, and which will have attached objects freed when it is released.
22
COPYRIGHT
24Kernel Hackers Manual 2.6. June 2019 PLATFORM_DEVICE_ALLO(9)