Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198409
b: refs/heads/master
c: 1dcf57c
h: refs/heads/master
i:
  198407: 4873f97
v: v3
  • Loading branch information
Prarit Bhargava authored and Grant Likely committed May 25, 2010
1 parent 043a5a3 commit 67edc88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 99f1a43f436a6a92d15bddfeb65f3a920c8b88d3
refs/heads/master: 1dcf57ceb461fe2ddeb622fe84d9918aadefe7ba
4 changes: 2 additions & 2 deletions trunk/Documentation/spi/spidev_fdx.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ static void do_msg(int fd, int len)
len = sizeof buf;

buf[0] = 0xaa;
xfer[0].tx_buf = (__u64) buf;
xfer[0].tx_buf = (unsigned long)buf;
xfer[0].len = 1;

xfer[1].rx_buf = (__u64) buf;
xfer[1].rx_buf = (unsigned long) buf;
xfer[1].len = len;

status = ioctl(fd, SPI_IOC_MESSAGE(2), xfer);
Expand Down

0 comments on commit 67edc88

Please sign in to comment.