Skip to content
Snippets Groups Projects
Commit d80f19fa authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Driver core: convert sound core to use struct device


Converts from using struct "class_device" to "struct device" making
everything show up properly in /sys/devices/ with symlinks from the
/sys/class directory.

It also makes the struct sound_card to show up as a "real" device
where all the different sound class devices are placed as childs
and different card attribute files can hang off of. /sys/class/sound is
still a flat directory, but the symlink targets of all devices belonging
to the same card, point the the /sys/devices tree below the new card
device object.

Thanks to Kay for the updates to this patch.

Signed-off-by: default avatarKay Sievers <kay.sievers@novell.com>
Acked-by: default avatarJaroslav Kysela <perex@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ebf644c4
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment