diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-27 22:25:43 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 09:52:51 -0700 |
commit | 51d172d5f3a193e4b8f76179b2e55d7a36b94117 (patch) | |
tree | 4bb508d85d9de2588235caddf197da57a47b5d6e /drivers/scsi/sg.c | |
parent | a7fd67062efc5b0fc9a61368c607fa92d1d57f9e (diff) |
[PATCH] Driver Core: add the ability for class_device structures to be nested
This patch allows struct class_device to be nested, so that another
struct class_device can be the parent of a new one, instead of only
having the struct class be the parent. This will allow us to
(hopefully) fix up the input and video class subsystem mess.
But please people, don't go crazy and start making huge trees of class
devices, you should only need 2 levels deep to get everything to work
(remember to use a class_interface to get notification of a new class
device being added to the system.)
Oh, this also allows us to have the possibility of potentially, someday,
moving /sys/block into /sys/class. The main hindrance is that pesky
/dev numberspace issue...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/scsi/sg.c')
0 files changed, 0 insertions, 0 deletions