Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug


       device_register - register a device with the system.


       int device_register  (struct device * dev);


       dev    pointer to the device structure


       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.