diff options
author | Michael Hennerich <[email protected]> | 2012-02-22 13:16:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-02-24 12:14:04 -0800 |
commit | cd4361c7e2e0778016a770157d0ccf126fca7a2a (patch) | |
tree | 92d2f464550c5955ca58a73358437959c1cf73e6 /tools/perf/scripts/python/syscall-counts.py | |
parent | 004d81339a3039e6402aa1ab73c5f986c9036786 (diff) |
iio: core: constitfy available_scan_mask
The core must not modify available_scan_mask, because it causes problems
with drivers where multiple instances of the driver share the same mask set.
So make this explicit by marking available scan masks as const.
The max1363 driver needs some minor adjustment to accommodate this change.
Pull scan mask allocation into a separate function.
Signed-off-by: Michael Hennerich <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions