diff options
| author | David Lechner <dlechner@baylibre.com> | 2026-03-07 19:44:11 -0600 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-04-27 09:58:15 +0100 |
| commit | cb27d8c18fa311ad87fca4c2e7f1d73ec0cb440d (patch) | |
| tree | 6fcf5c69a6687a499f1c6cacec39c9593ccd47a4 /include/linux/pgalloc.h | |
| parent | 78abd04ea19608dc8a025ba5b95cd21c5a86d3e6 (diff) | |
| download | linux-next-cb27d8c18fa311ad87fca4c2e7f1d73ec0cb440d.tar.gz linux-next-cb27d8c18fa311ad87fca4c2e7f1d73ec0cb440d.zip | |
iio: buffer: cache timestamp offset in scan buffer
Cache the offset (in bytes) for the timestamp element in a scan buffer.
This will be used later to ensure proper alignment of the timestamp
element in the scan buffer.
The new field could not be placed in struct iio_dev_opaque because we
will need to access it in a static inline function later, so we make it
__private instead. It is only intended to be used by core IIO code.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/pgalloc.h')
0 files changed, 0 insertions, 0 deletions
