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 |