table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
PLATFORM_DEVICE_ADD_(9) | Device drivers infrastructure | PLATFORM_DEVICE_ADD_(9) |
NAME¶
platform_device_add_resources - add resources to a platform deviceSYNOPSIS¶
int
platform_device_add_resources(struct platform_device * pdev,
const struct resource * res,
unsigned int num);
ARGUMENTS¶
pdevplatform device allocated by
platform_device_alloc to add resources to
res
set of resources that needs to be allocated
for the device
num
number of resources
DESCRIPTION¶
Add a copy of the resources to the platform device. The memory associated with the resources will be freed when the platform device is released.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |