Gentoo Archives: gentoo-dev

From: Greg KH <greg@×××××.com>
To: Jeremy Huddleston <eradicator@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: ALSA and kernel 2.6.1-gentoo-r1 and /etc/init.d/alsasound
Date: Mon, 23 Feb 2004 23:43:23
Message-Id: 20040223232450.GC23722@kroah.com
In Reply to: Re: [gentoo-dev] Re: ALSA and kernel 2.6.1-gentoo-r1 and /etc/init.d/alsasound by Jeremy Huddleston
1 On Mon, Feb 23, 2004 at 02:37:55PM -0800, Jeremy Huddleston wrote:
2 > sysfs support is in the alsa-driver if you use kernel 2.6.3 or later. With
3 > lower versions, it uses dummy functions...
4 >
5 > in alsa-driver-1.0.2c/include/adriver.h...
6 >
7 > /* sysfs */
8 > #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 2)
9 > struct class_simple;
10 > static inline void class_simple_device_add(struct class_simple *class, int
11 > devnum, ...) { return; }
12 > static inline void class_simple_device_remove(int devnum) { return; }
13 > #endif
14
15 Ugh. The "joy" of trying to keep kernel code out of the main kernel
16 tree. It's just not worth the effort, when will people learn..
17
18 Thanks for letting me know about this.
19
20 greg k-h
21
22 --
23 gentoo-dev@g.o mailing list