]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/pip.h
Changed data size from byte to unsigned for write_register indirect call
[lincan.git] / lincan / include / pip.h
index c32b2b580fd7bc530720527cf203471d5a584da8..cc4891f781d5d185bd8891cf1eb9d6f11a875230 100644 (file)
@@ -13,7 +13,7 @@ int pip5_reset(struct candevice_t *candev);
 int pip5_init_hw_data(struct candevice_t *candev);
 int pip5_init_chip_data(struct candevice_t *candev, int chipnr);
 int pip5_init_obj_data(struct chip_t *chip, int objnr);
 int pip5_init_hw_data(struct candevice_t *candev);
 int pip5_init_chip_data(struct candevice_t *candev, int chipnr);
 int pip5_init_obj_data(struct chip_t *chip, int objnr);
-void pip5_write_register(unsigned char data, unsigned long address);
+void pip5_write_register(unsigned data, unsigned long address);
 unsigned pip5_read_register(unsigned long address);
 int pip5_program_irq(struct candevice_t *candev);
 
 unsigned pip5_read_register(unsigned long address);
 int pip5_program_irq(struct candevice_t *candev);