__root_device_register man page on Scientific

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

__ROOT_DEVICE_REGIST(9)	 Device drivers infrastructure __ROOT_DEVICE_REGIST(9)

NAME
       __root_device_register - allocate and register a root device

SYNOPSIS
       struct device * __root_device_register(const char * name,
					      struct module * owner);

ARGUMENTS
       name
	   root device name

       owner
	   owner module of the root device, usually THIS_MODULE

DESCRIPTION
       This function allocates a root device and registers it using
       device_register. In order to free the returned device, use
       root_device_unregister.

       Root devices are dummy devices which allow other devices to be grouped
       under /sys/devices. Use this function to allocate a root device and
       then use it as the parent of any device which should appear under
       /sys/devices/{name}

       The /sys/devices/{name} directory will also contain a ´module´ symlink
       which points to the owner directory in sysfs.

NOTE
       You probably want to use root_device_register.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013	       __ROOT_DEVICE_REGIST(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