Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: add struct declaration for iio types

Add struct for iio type arrays such as IIO_AVAIL_LIST which can be used
instead of int arrays.

Signed-off-by: Gerald Loacker <gerald.loacker@wolfvision.net>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221201072220.402585-2-gerald.loacker@wolfvision.net
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Gerald Loacker and committed by
Jonathan Cameron
08f01cc1 1b929c02

+5
+5
include/linux/iio/iio.h
··· 381 381 382 382 #define INDIO_MAX_RAW_ELEMENTS 4 383 383 384 + struct iio_val_int_plus_micro { 385 + int integer; 386 + int micro; 387 + }; 388 + 384 389 struct iio_trigger; /* forward declaration */ 385 390 386 391 /**