0.9.7b does a couple of type definitions etc. that are present in
2.4.23-pre7 headers.
Patch to #if LINUX_VERSION_CODE them attached.
LLaP
bero
--
Ark Linux - Linux for the masses
http://www.arklinux.org/
Redistribution and processing of this message is subject to
http://www.arklinux.org/terms.php
--- alsa-driver-0.9.7b/include/adriver.h.ark 2003-10-12 21:44:44.000000000 +0200
+++ alsa-driver-0.9.7b/include/adriver.h 2003-10-12 21:45:48.000000000 +0200
@@ -129,11 +129,13 @@
#endif
#ifndef CONFIG_HAVE_PDE
#include <linux/fs.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 23)
static inline struct proc_dir_entry *PDE(const struct inode *inode)
{
return (struct proc_dir_entry *) inode->u.generic_ip;
}
#endif
+#endif
#ifndef cond_resched
#define cond_resched() \
do { \