Skip to contentSkip to conversation

staging:iio:buffer example fix typos

PATCH New Jonathan Cameron 1 participant 1 message Mar 3, 2012

Subsystems (3)
lore
Share & tools
lore

Jonathan Cameron

author maintainer
#0 lore raw

PATCH 1/1 staging:iio:buffer example fix typos

I have no idea how I managed to munge the previous patch related to this. Sorry all.

---
 drivers/staging/iio/Documentation/generic_buffer.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/iio/Documentation/generic_buffer.c +2 -2
index 69a05b9..bf55335 100644
@@ -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 */
Signature · 1 line
1.7.9.2