device_register man page on OpenSuSE

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

DEVICE_REGISTER(9)	 Device drivers infrastructure	    DEVICE_REGISTER(9)

NAME
       device_register - register a device with the system.

SYNOPSIS
       int device_register(struct device * dev);

ARGUMENTS
       dev
	   pointer to the device structure

DESCRIPTION
       This happens in two clean steps - initialize the device and add it to
       the system. The two steps can be called separately, but this is the
       easiest and most common. I.e. you should only call the two helpers
       separately if have a clearly defined need to use and refcount the
       device before it is added to the hierarchy.

       For more information, see the kerneldoc for device_initialize and
       device_add.

NOTE
       _Never_ directly free dev after calling this function, even if it
       returned an error! Always use put_device to give up the reference
       initialized in this function instead.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		    DEVICE_REGISTER(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