]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/pcccan.h
Changed data size from byte to unsigned for write_register indirect call
[lincan.git] / lincan / include / pcccan.h
index cf98553bd7a045f7ba9ee7ee4dc17246da7a1354..2e5b55b9e329f68688b134eb6e3b0c2203c64aad 100644 (file)
@@ -13,7 +13,7 @@ int pcccan_reset(struct candevice_t *candev);
 int pcccan_init_hw_data(struct candevice_t *candev);
 int pcccan_init_chip_data(struct candevice_t *candev, int chipnr);
 int pcccan_init_obj_data(struct chip_t *chip, int objnr);
-void pcccan_write_register(unsigned char data, unsigned long address);
+void pcccan_write_register(unsigned data, unsigned long address);
 unsigned pcccan_read_register(unsigned long address);
 int pcccan_program_irq(struct candevice_t *candev);