Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304539
b: refs/heads/master
c: 65c5cfa
h: refs/heads/master
i:
  304537: 3a4a5f2
  304535: a3fc5e4
v: v3
  • Loading branch information
Ravishankar Karkala Mallikarjunayya authored and Greg Kroah-Hartman committed May 2, 2012
1 parent dee3e44 commit 222a6e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a8576360a77be2c39ef2e151b5a60b214f67fd6
refs/heads/master: 65c5cfa695fa38272e393841ee80fd53ef2ef12e
9 changes: 5 additions & 4 deletions trunk/drivers/staging/comedi/drivers/dt9812.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ struct dt9812_flash_data {
};

#define DT9812_MAX_NUM_MULTI_BYTE_RDS \
((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / sizeof(u8))
((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / sizeof(u8))

struct dt9812_read_multi {
u8 count;
Expand All @@ -209,8 +209,8 @@ struct dt9812_write_byte {
};

#define DT9812_MAX_NUM_MULTI_BYTE_WRTS \
((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / \
sizeof(struct dt9812_write_byte))
((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / \
sizeof(struct dt9812_write_byte))

struct dt9812_write_multi {
u8 count;
Expand All @@ -224,7 +224,8 @@ struct dt9812_rmw_byte {
};

#define DT9812_MAX_NUM_MULTI_BYTE_RMWS \
((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / sizeof(struct dt9812_rmw_byte))
((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / \
sizeof(struct dt9812_rmw_byte))

struct dt9812_rmw_multi {
u8 count;
Expand Down

0 comments on commit 222a6e7

Please sign in to comment.