diff options
author | Jonathan Cameron <jic23@kernel.org> | 2012-04-10 21:11:04 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-10 13:26:32 -0700 |
commit | 09f78be78afbdc8b164905e9a19698922fa45edb (patch) | |
tree | 23eeaa7022b5df7a51e13e755bd96ef95e7c0638 /drivers/staging/iio/Documentation | |
parent | staging: evict abandoned 68360serial.c driver from the kernel (diff) | |
download | linux-dev-09f78be78afbdc8b164905e9a19698922fa45edb.tar.xz linux-dev-09f78be78afbdc8b164905e9a19698922fa45edb.zip |
staging:iio:buffer example fix typos
I have no idea how I managed to munge the previous
patch related to this. Sorry all.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/Documentation')
-rw-r--r-- | drivers/staging/iio/Documentation/generic_buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/Documentation/generic_buffer.c b/drivers/staging/iio/Documentation/generic_buffer.c index 69a05b9456d6..bf553356fdad 100644 --- a/drivers/staging/iio/Documentation/generic_buffer.c +++ b/drivers/staging/iio/Documentation/generic_buffer.c @@ -60,9 +60,9 @@ void print2byte(int input, struct iio_channel_info *info) /* First swap if incorrect endian */ if (info->be) - input = be16toh((uint_16t)input); + input = be16toh((uint16_t)input); else - input = le16toh((uint_16t)input); + input = le16toh((uint16_t)input); /* shift before conversion to avoid sign extension of left aligned data */ |