From: Mark McLoughlin Date: Mon, 15 Dec 2008 12:58:26 +0000 (+0000) Subject: driver core: add root_device_register() X-Git-Tag: v2.6.29-rc1~229^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aa0dc41bfd993491c2344870eee7a3b218551fb;p=pandora-kernel.git driver core: add root_device_register() Add support for allocating root device objects which group device objects under /sys/devices directories. Also add a sysfs 'module' symlink which points to the owner of the root device object. This symlink will be used in virtio to allow userspace to determine which virtio bus implementation a given device is associated with. [Includes suggestions from Cornelia Huck] Signed-off-by: Mark McLoughlin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed