]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/open.c
Included support for PiMX1 board with SJA1000 on MX_DIS1 expansion board.
[lincan.git] / lincan / src / open.c
index 0301ed3c1db0252de1d567f9572dc11aa5587345..45406fc48f9575fb1ae9c0b9a87c51803dbe1854 100644 (file)
@@ -11,7 +11,6 @@
 #include "../include/can_sysdep.h"
 #include "../include/main.h"
 #include "../include/open.h"
-#include "../include/i82527.h"
 #include "../include/setup.h"
 
 #define __NO_VERSION__
@@ -20,7 +19,7 @@
 int can_open(struct inode *inode, struct file *file)
 {
        struct msgobj_t *obj;
-       struct chip_t *chip;
+       struct canchip_t *chip;
        struct canuser_t *canuser;
        struct canque_ends_t *qends;
        struct canque_edge_t *edge;