]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/main.c
Fixes and updates for SECO M437 provided by Philippe Corbes
[lincan.git] / lincan / src / main.c
index e114082fff1b887cf01101d65266d6dd116c4857..e0217619d886f333eb8d5b63c1b2ca8ca17840fd 100644 (file)
@@ -396,7 +396,9 @@ int init_module(void)
 
 void cleanup_module(void)
 {
+#if defined(CONFIG_DEVFS_FS) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
        int i=0;
+#endif
 
 #ifdef CONFIG_PROC_FS
        if (can_delete_procdir())