Needs to #include <linux/types.h> then; "u8" isn't always known.
Or maybe just spell it out "unsigned char".
That was one of the options. I thought I'd start with something
simpler, and see what folk thought.
Where would that be ... lib/bcd.c, always linked? And if it goes
that way I'd prefer bcd2bin() and bin2bcd(), not these names. A
small impetus to have LESS SOURCE CODE SHOUTING AT ME.
- Dave
--