platform_device_add_resources(9) centos man page | unix.com

Man Page: platform_device_add_resources

Operating Environment: centos

Section: 9

PLATFORM_DEVICE_ADD_(9) 				   Device drivers infrastructure				   PLATFORM_DEVICE_ADD_(9)

NAME
platform_device_add_resources - add resources to a platform device
SYNOPSIS
int platform_device_add_resources(struct platform_device * pdev, const struct resource * res, unsigned int num);
ARGUMENTS
pdev platform 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
Kernel Hackers Manual 3.10 June 2014 PLATFORM_DEVICE_ADD_(9)
Related Man Pages
device_create_with_groups(9) - centos
struct_bus_type(9) - centos
struct_device_driver(9) - centos
struct_platform_nand_ctrl(9) - centos
ibv_close_device(3) - centos
Similar Topics in the Unix Linux Community
Best performance UNIX just for HOST Virtualization?
CentOS7 restoring file capabilities
Unsure why access time on a directory change isn't changing
Controlling user input
[TIP] Processing YAML files with yq