]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/msmcan.c
Changed data size from byte to unsigned for write_register indirect call
[lincan.git] / lincan / src / msmcan.c
index 1d6fb517ea9839b4e75a0db5b805713f08da3b54..0cdb07d5d872a771973e015a4b7c5fa3b2c5f68e 100644 (file)
@@ -173,7 +173,7 @@ int msmcan_program_irq(struct candevice_t *candev)
  * on the CAN chip. You should only have to edit this function if your hardware
  * uses some specific write process.
  */
-void msmcan_write_register(unsigned char data, unsigned long address)
+void msmcan_write_register(unsigned data, unsigned long address)
 {
        /* address is combination of base address shifted left by 16 and index */
        can_spin_irqflags_t flags;