]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/main.h
Moved inclussion of lincan_config.h to can_sysdep.h
[lincan.git] / lincan / include / main.h
index 78eace8ee71d4f02bfa2b22472025e72f5867d40..65d6b2a0d83422a36b53f8dce6494f8b478bb447 100644 (file)
@@ -11,7 +11,6 @@
 #include "./constants.h"
 #include "./can_sysdep.h"
 #include "./can_queue.h"
-#include "lincan_config.h"
 
 #ifdef CAN_DEBUG
        #define DEBUGMSG(fmt,args...) can_printk(KERN_ERR "can.o (debug): " fmt,\
@@ -88,6 +87,7 @@ struct candevice_t {
        struct canhardware_t *hosthardware_p;
        
        union {
+               void *anydev;
            #ifdef CAN_ENABLE_PCI_SUPPORT
                struct pci_dev *pcidev;
            #endif /*CAN_ENABLE_PCI_SUPPORT*/
@@ -474,6 +474,8 @@ struct boardtype_t {
 
 const struct boardtype_t* boardtype_find(const char *str);
 
+int can_check_dev_taken(void *anydev);
+
 #ifdef CAN_WITH_RTL
 extern int can_rtl_priority;
 #endif /*CAN_WITH_RTL*/