summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2004-01-19 00:45:49 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2004-01-19 00:45:49 -0800
commit9f1257d71211e6eb138fe3e722147e1134524134 (patch)
treebebe3bb78609e8e034e36f15cbcc112022b1a6ff /include
parent93796c8e5114d8a9b51c583ced100fd2cf34daf0 (diff)
[PATCH] ALSA: add sysfs class support for ALSA sound devices
This patch adds support for all ALSA sound devices. The previous OSS sound patch is required for this one to work properly. This patch is based on a work originally written by Leann Ogasawara <ogasawara@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/core.h b/include/sound/core.h
index cbf5a1318769..00716c17d842 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -160,6 +160,7 @@ struct _snd_card {
int shutdown; /* this card is going down */
wait_queue_head_t shutdown_sleep;
struct work_struct free_workq; /* for free in workqueue */
+ struct device *dev;
#ifdef CONFIG_PM
int (*set_power_state) (snd_card_t *card, unsigned int state);