int (*program_irq)(struct candevice_t *candev);
void (*write_register)(unsigned data, can_ioptr_t address);
unsigned (*read_register)(can_ioptr_t address);
+ int (*spi_acquire_bus)(struct candevice_t *candev, short channel, int block);
+ void (*spi_release_bus)(struct candevice_t *candev, short channel);
+ int (*spi_transfer)(struct candevice_t *candev, void *tx, void *rx, uint16_t len);
+
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10))
+ void (*release_device)(struct kref *refcount);
+ #endif
+
};
/**