]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/main.c
Support for asynchronous SPI messages and callbacks
[lincan.git] / lincan / src / main.c
index c5547af9e2e535021426e94c7707db77b562168f..34661f19453a7885d6f6639579222fde86ee42e9 100644 (file)
        #include "../include/usbcan.h"
 #endif
 #if defined(CONFIG_OC_LINCAN_CARD_omap2_spican)
+       #include <linux/spi/spi.h>
        #include "../include/omap2_spican.h"
 #endif
 
@@ -603,8 +604,8 @@ struct candevice_t* register_hotplug_dev(const char *hwname,int (*chipdataregfnc
                #endif /*CAN_WITH_RTL*/
 
 //     register_error:
-//             if ( can_del_mem_list() )
-//                     CANMSG("Error deallocating memory\n");
+//             if ( can_del_mem_list() )
+//                     CANMSG("Error deallocating memory\n");
 
                return NULL;
 }