git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[pandora-kernel.git]
/
Documentation
/
spi
/
spidev_fdx.c
diff --git
a/Documentation/spi/spidev_fdx.c
b/Documentation/spi/spidev_fdx.c
index
fc354f7
..
36ec077
100644
(file)
--- a/
Documentation/spi/spidev_fdx.c
+++ b/
Documentation/spi/spidev_fdx.c
@@
-58,10
+58,10
@@
static void do_msg(int fd, int len)
len = sizeof buf;
buf[0] = 0xaa;
len = sizeof buf;
buf[0] = 0xaa;
- xfer[0].tx_buf = (
__u64)
buf;
+ xfer[0].tx_buf = (
unsigned long)
buf;
xfer[0].len = 1;
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);
xfer[1].len = len;
status = ioctl(fd, SPI_IOC_MESSAGE(2), xfer);