X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/cb551cc1582f3b51cf17e80730bee3c2f0701c3f..c61a955168179d9b11a8f420979eed5cc24869c0:/lincan/src/pcccan.c diff --git a/lincan/src/pcccan.c b/lincan/src/pcccan.c index ebf315c..b940731 100644 --- a/lincan/src/pcccan.c +++ b/lincan/src/pcccan.c @@ -253,7 +253,7 @@ int pcccan_program_irq(struct candevice_t *candev) * Return Value: The function does not return a value * File: src/pcccan.c */ -void pcccan_write_register(unsigned char data, unsigned long address) +void pcccan_write_register(unsigned data, unsigned long address) { can_spin_irqflags_t flags; can_spin_lock_irqsave(&pcccan_port_lock,flags);