]> rtime.felk.cvut.cz Git - lincan.git/commitdiff
Moved inclussion of lincan_config.h to can_sysdep.h
authorppisa <ppisa>
Wed, 28 Apr 2004 01:18:11 +0000 (01:18 +0000)
committerppisa <ppisa>
Wed, 28 Apr 2004 01:18:11 +0000 (01:18 +0000)
lincan/include/can_sysdep.h
lincan/include/main.h
lincan/src/boardlist.c

index 61b439aa776da6e485871c6d42cfe27fe9a309f6..da79948b7a8e96d1d695d206e757bdce5f5bd9d8 100644 (file)
@@ -27,6 +27,8 @@
 #include <asm/irq.h>
 #include <asm/uaccess.h>
 
+#include "lincan_config.h"
+
 /*optional features*/
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0))
 #define CAN_ENABLE_KERN_FASYNC
index 2893ef7fa227b7f46a5121b6748402768828d970..65d6b2a0d83422a36b53f8dce6494f8b478bb447 100644 (file)
 #include "./constants.h"
 #include "./can_sysdep.h"
 #include "./can_queue.h"
-#include "lincan_config.h"
-
-#ifdef CONFIG_OC_LINCANVME
-#define CAN_ENABLE_VME_SUPPORT
-#endif
 
 #ifdef CAN_DEBUG
        #define DEBUGMSG(fmt,args...) can_printk(KERN_ERR "can.o (debug): " fmt,\
index b04636ca0019293020682fd967653335307d6d33..38fbd3cfad5cec4f3fbfc7e1f55448761e4c5f47 100644 (file)
@@ -10,8 +10,6 @@
 #include "../include/can_sysdep.h"
 #include "../include/main.h"
 
-#include "lincan_config.h"
-
 extern int template_register(struct hwspecops_t *hwspecops);
 extern int virtual_register(struct hwspecops_t *hwspecops);
 extern int pip5_register(struct hwspecops_t *hwspecops);