centos man page for platform_create_bundle

Query: platform_create_bundle

OS: centos

Section: 9

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

PLATFORM_CREATE_BUND(9) 				   Device drivers infrastructure				   PLATFORM_CREATE_BUND(9)

NAME
platform_create_bundle - register driver and create corresponding device
SYNOPSIS
struct platform_device * platform_create_bundle(struct platform_driver * driver, int (*probe) (struct platform_device *), struct resource * res, unsigned int n_res, const void * data, size_t size);
ARGUMENTS
driver platform driver structure probe the driver probe routine, probably from an __init section res set of resources that needs to be allocated for the device n_res number of resources data platform specific data for this platform device size size of platform specific data
DESCRIPTION
Use this in legacy-style modules that probe hardware directly and register a single platform device and corresponding platform driver. Returns struct platform_device pointer on success, or ERR_PTR on error.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 PLATFORM_CREATE_BUND(9)
Related Man Pages
struct_device_driver(9) - centos
struct_usb_device_driver(9) - centos
probe(9e) - debian
probe(9e) - centos
probe(9e) - minix
Similar Topics in the Unix Linux Community
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
Unsure why access time on a directory change isn't changing
Controlling user input
Please Welcome Dave Munro to the Moderator Team!