CHANGE THIS (include/adriver.h/line # 105): #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 4) #include <linux/fs.h> static inline struct proc_dir_entry *PDE(const struct inode *inode) { return (struct proc_dir_entry *) inode->u.generic_ip; } #endif TO THIS: #ifndef PDE #include <linux/fs.h> static inline struct proc_dir_entry *PDE(const struct inode *inode) { return (struct proc_dir_entry *) inode->u.generic_ip; } #endif see URL for reason why the original code is wrong.
to clarify the include/adriver.h file is in the alsa-driver source code
*** This bug has been marked as a duplicate of 22280 ***
Oops, I meant the other way around.
*** Bug 22280 has been marked as a duplicate of this bug. ***
Hi guys. This has also been filed as #25635, however the solution shown there is better, simpler and *safer* (it that it can't possibly affect the behaviour of the compilation process on non-WOLK kernels). Please could we get this resolved! :)
Eep, I meant Bug 25731, not Bug 25635. Sorry about that!
*** This bug has been marked as a duplicate of 25731 ***