diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-02-09 16:25:48 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 16:25:48 +0100 |
commit | c2902c8ae06762d941fab64198467f78cab6f8cd (patch) | |
tree | b960df23be1ae9798cf6f306264d34f153f88654 /include/sound | |
parent | 48ec15dca87805cf771855612d647bfe1a9f617f (diff) | |
download | kernel_samsung_smdk4412-c2902c8ae06762d941fab64198467f78cab6f8cd.zip kernel_samsung_smdk4412-c2902c8ae06762d941fab64198467f78cab6f8cd.tar.gz kernel_samsung_smdk4412-c2902c8ae06762d941fab64198467f78cab6f8cd.tar.bz2 |
[PATCH] Fix breakage with CONFIG_SYSFS_DEPRECATED
The fix for sysfs breakage with CONFIG_SYSFS_DEPRECATED was flown
away by the conflicted merge of the ALSA git tree. The patch below
fixes it again.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index 3c493ad..4b9e609 100644 --- a/include/sound/core.h +++ b/include/sound/core.h @@ -242,7 +242,7 @@ static inline int snd_register_device(int type, struct snd_card *card, int dev, { return snd_register_device_for_dev(type, card, dev, f_ops, private_data, name, - card ? card->dev : NULL); + snd_card_get_device_link(card)); } int snd_unregister_device(int type, struct snd_card *card, int dev); |