CANMSG("Error initializing chip for receiving\n");
}
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10))
+ if (chip->hostdevice->hwspecops->release_device)
+ kref_get(&chip->hostdevice->refcount);
+#endif
canuser = (struct canuser_t *)kmalloc(sizeof(struct canuser_t), GFP_KERNEL);
if(canuser == NULL) goto no_canuser;