]> www.infradead.org Git - users/willy/linux.git/commitdiff
iio: Move __private marking before struct element priv in struct iio_dev
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 7 Nov 2024 18:52:33 +0000 (18:52 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 9 Nov 2024 10:42:13 +0000 (10:42 +0000)
This is to avoid tripping up kernel-doc which filters it out before
but not after the name.

Note the formatting is less than ideal as a result so we may revisit
in future.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
include/linux/iio/iio.h

index 59c58f45531123cd5b69360252a35c8828b95edd..ae65890d456772f11eee76bd1a2cafbc5f16b7ec 100644 (file)
@@ -624,7 +624,7 @@ struct iio_dev {
        const struct iio_info           *info;
        const struct iio_buffer_setup_ops       *setup_ops;
 
-       void                            *priv __private;
+       void                            *__private priv;
 };
 
 int iio_device_id(struct iio_dev *indio_dev);