# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../slmodem/define-devfs_fs_kernel.patch # Copyright (C) 2006 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END --- Linux 2.6.18 no longer has devfs_fs_kernel.h cheers Miguel A. BolaƱos And UTS_RELEASE is defined at linux/utsrelease.h - mnemoc --- slmodem-2.9.11-20051101/drivers/amrmo_init.c.orig 2006-10-05 10:02:05.000000000 -0600 +++ slmodem-2.9.11-20051101/drivers/amrmo_init.c 2006-10-05 10:02:50.000000000 -0600 @@ -53,7 +53,10 @@ #include #include #include + +#ifdef CONFIG_DEVFS_FS #include +#endif #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) #define OLD_KERNEL 1 --- slmodem-2.9.11-20051101/drivers/st7554.c.orig 2006-10-05 10:41:32.000000000 -0600 +++ slmodem-2.9.11-20051101/drivers/st7554.c 2006-10-05 10:41:52.000000000 -0600 @@ -55,7 +55,10 @@ #include #include #include + +#ifdef CONFIG_DEVFS_FS #include +#endif #include --- ./drivers/kernel-ver.c.orig 2006-10-06 17:35:22.000000000 -0400 +++ ./drivers/kernel-ver.c 2006-10-06 17:35:53.000000000 -0400 @@ -5,6 +5,9 @@ #include #include +#ifndef UTS_RELEASE +#include +#endif int main() {