table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
PLATFORM_DEVICE_ALLO(9) | Device drivers infrastructure | PLATFORM_DEVICE_ALLO(9) |
NAME¶
platform_device_alloc - create a platform deviceSYNOPSIS¶
struct
platform_device *
platform_device_alloc(const char * name,
int id);
ARGUMENTS¶
namebase name of the device we're adding
id
instance id
DESCRIPTION¶
Create a platform device object which can have other objects attached to it, and which will have attached objects freed when it is released.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |