Commit b514d8c7 authored by Jesper Juhl's avatar Jesper Juhl Committed by Linus Torvalds

[PATCH] voyager: no need to define BITS_PER_BYTE when it's already in types.h

Signed-off-by: default avatarJesper Juhl <jesper.juhl@gmail.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent cca57c5b
...@@ -120,7 +120,6 @@ static struct resource qic_res = { ...@@ -120,7 +120,6 @@ static struct resource qic_res = {
* It writes num_bits of the data buffer in msg starting at start_bit. * It writes num_bits of the data buffer in msg starting at start_bit.
* Note: This function assumes that any unused bit in the data stream * Note: This function assumes that any unused bit in the data stream
* is set to zero so that the ors will work correctly */ * is set to zero so that the ors will work correctly */
#define BITS_PER_BYTE 8
static void static void
cat_pack(__u8 *msg, const __u16 start_bit, __u8 *data, const __u16 num_bits) cat_pack(__u8 *msg, const __u16 start_bit, __u8 *data, const __u16 num_bits)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment