61e77107fa
create sysfs device symlinks for snd-aoa in /sys/class/sound/controlC0 This allows hald to recognize the device as sound device. Furthermore it allows the desktop user to actually access the sound device nodes. hald and related packages will modify the acl attributes. Fixes https://bugzilla.novell.com/show_bug.cgi?id=106294 Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 lines
370 B
C
17 lines
370 B
C
/*
|
|
* Apple Onboard Audio Alsa private helpers
|
|
*
|
|
* Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
|
|
*
|
|
* GPL v2, can be found in COPYING.
|
|
*/
|
|
|
|
#ifndef __SND_AOA_ALSA_H
|
|
#define __SND_AOA_ALSA_H
|
|
#include "../aoa.h"
|
|
|
|
extern int aoa_alsa_init(char *name, struct module *mod, struct device *dev);
|
|
extern void aoa_alsa_cleanup(void);
|
|
|
|
#endif /* __SND_AOA_ALSA_H */
|