Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281249
b: refs/heads/master
c: 18cffbe
h: refs/heads/master
i:
  281247: 1108741
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Dec 8, 2011
1 parent ece5344 commit 6cef87d
Show file tree
Hide file tree
Showing 2 changed files with 13 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: c52cfb638d5f10223d60841c3a6dac913701a18d
refs/heads/master: 18cffbedc2c4af8a83816a9ee17a010138abd36b
14 changes: 12 additions & 2 deletions trunk/drivers/staging/iio/adc/max1363_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,12 @@ static const enum max1363_modes max1363_mode_list[] = {
.channel = num, \
.address = addr, \
.info_mask = MAX1363_INFO_MASK, \
.scan_type = IIO_ST('u', bits, (bits > 8) ? 16 : 8, 0), \
.scan_type = { \
.sign = 'u', \
.realbits = bits, \
.storagebits = (bits > 8) ? 16 : 8, \
.endianness = IIO_BE, \
}, \
.scan_index = si, \
.event_mask = evmask, \
}
Expand All @@ -313,7 +318,12 @@ static const enum max1363_modes max1363_mode_list[] = {
.channel2 = num2, \
.address = addr, \
.info_mask = MAX1363_INFO_MASK, \
.scan_type = IIO_ST('u', bits, (bits > 8) ? 16 : 8, 0), \
.scan_type = { \
.sign = 's', \
.realbits = bits, \
.storagebits = (bits > 8) ? 16 : 8, \
.endianness = IIO_BE, \
}, \
.scan_index = si, \
.event_mask = evmask, \
}
Expand Down

0 comments on commit 6cef87d

Please sign in to comment.