centos man page for platform_device_register_data

Query: platform_device_register_data

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PLATFORM_DEVICE_REGI(9) 				   Device drivers infrastructure				   PLATFORM_DEVICE_REGI(9)

NAME
platform_device_register_data - add a platform-level device with platform-specific data
SYNOPSIS
struct platform_device * platform_device_register_data(struct device * parent, const char * name, int id, const void * data, size_t size);
ARGUMENTS
parent parent device for the device we're adding name base name of the device we're adding id instance id data platform specific data for this platform device size size of platform specific data
DESCRIPTION
This function creates a simple platform device that requires minimal resource and memory management. Canned release function freeing memory allocated for the device allows drivers using such devices to be unloaded without waiting for the last reference to the device to be dropped. Returns struct platform_device pointer on success, or ERR_PTR on error.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 PLATFORM_DEVICE_REGI(9)
Related Man Pages
device_create(9) - centos
struct_uio_info(9) - centos
device_create_vargs(9) - suse
struct_platform_nand_ctrl(9) - suse
installboot(1m) - sunos
Similar Topics in the Unix Linux Community
Weird 'find' results
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
Controlling user input
Please Welcome Dave Munro to the Moderator Team!