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 61b439a..da79948 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 2893ef7..65d6b2a 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 b04636c..38fbd3c 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);