summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2026-04-27 20:51:47 +0200
committerJonathan Cameron <jic23@kernel.org>2026-05-31 10:59:32 +0100
commitc0536d61f30417b0aeac7ea8734525ab7a01a93b (patch)
treecd8dcad414af2f882ea3d7796c4abe57ddd3192c /include
parent095ae2f2e72f56d442ec0e476f873fd4d92c81de (diff)
iio: buffer: Move from int64_t to s64 for timestamp
iio_push_to_buffers_with_ts_unaligned() uses int64_t for timestamp. Move it from int64_t to s64 to make consistent with: - iio_push_to_buffers_with_ts() - all current users that supply s64 anyway This will reduce potential of wrong type being chosen when using this API. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/iio/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iio/buffer.h b/include/linux/iio/buffer.h
index 8fd0d57d238f..745c98ef4e04 100644
--- a/include/linux/iio/buffer.h
+++ b/include/linux/iio/buffer.h
@@ -79,7 +79,7 @@ static inline int iio_push_to_buffers_with_ts(struct iio_dev *indio_dev,
int iio_push_to_buffers_with_ts_unaligned(struct iio_dev *indio_dev,
const void *data, size_t data_sz,
- int64_t timestamp);
+ s64 timestamp);
bool iio_validate_scan_mask_onehot(struct iio_dev *indio_dev,
const unsigned long *mask);