summaryrefslogtreecommitdiff
path: root/include/linux/bcd.h
blob: 22ea563ba3eb169f9e04aac1233b404923c42d6e (plain) (blame)
1
2
3
4
5
6
7
8
9
#ifndef _BCD_H
#define _BCD_H

#include <linux/compiler.h>

unsigned bcd2bin(unsigned char val) __attribute_const__;
unsigned char bin2bcd(unsigned val) __attribute_const__;

#endif /* _BCD_H */