platform_device_register_simple man page on Scientific

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

PLATFORM_DEVICE_REGI(9)	 Device drivers infrastructure PLATFORM_DEVICE_REGI(9)

NAME
       platform_device_register_simple -

SYNOPSIS
       struct platform_device *
								platform_device_register_simple(const char * name,
								int id,
								struct resource * res,
								unsigned int num);

ARGUMENTS
       name
	   base name of the device we´re adding

       id
	   instance id

       res
	   set of resources that needs to be allocated for the device

       num
	   number of resources

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.

       This interface is primarily intended for use with legacy drivers which
       probe hardware directly. Because such drivers create sysfs device nodes
       themselves, rather than letting system infrastructure handle such
       device enumeration tasks, they don´t fully conform to the Linux driver
       model. In particular, when such drivers are built as modules, they
       can´t be “hotplugged”.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013	       PLATFORM_DEVICE_REGI(9)
[top]

List of man pages available for Scientific

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