提交 09f78be7 编写于 作者: J Jonathan Cameron 提交者: Greg Kroah-Hartman

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: NJonathan Cameron <jic23@kernel.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 60e6d268
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册