summaryrefslogtreecommitdiffstats
path: root/Documentation/rapidio
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-11-26 18:55:16 +0100
committerJonathan Cameron <jic23@kernel.org>2014-12-12 12:28:33 +0000
commit8d92db2827b68206f6930e79132243416183e083 (patch)
tree87306f1100237e03eab910b49800ac40c36b6916 /Documentation/rapidio
parent08e7e0adaa17205f86894157d86c4bee3c714330 (diff)
downloadlinux-8d92db2827b68206f6930e79132243416183e083.tar.bz2
iio: buffer: Make length attribute read only for buffers without set_length
If a buffer implementation does not implement the set_length() callback the length will be static and can not be changed by userspace. Mark the length attribute as a read only property in this case so userspace is aware of this rather than just silently accepting any length value. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/rapidio')
0 files changed, 0 insertions, 0 deletions