platform_device_register_data man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

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.11	 November 2013	       PLATFORM_DEVICE_REGI(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net