diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2017-10-29 20:06:01 -0400 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-12-02 06:15:14 -0500 |
commit | c175cb7cd953782bbf4e8bdf088ad61440d6dde5 (patch) | |
tree | 4ee060a52cc5731e1d29324ad14888dbc8f22550 | |
parent | 96748823c483c6eed8321f78bd128dd33f09c55c (diff) |
iio: fix kernel-doc build errors
Fix build errors in kernel-doc notation. Symbols that end in '_'
have a special meaning, but adding a '*' makes them OK.
../drivers/iio/industrialio-core.c:635: ERROR: Unknown target name: "iio_val".
../drivers/iio/industrialio-core.c:642: ERROR: Unknown target name: "iio_val".
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r-- | drivers/iio/industrialio-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index 9c4cfd19b739..2f0998ebeed2 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c | |||
@@ -631,7 +631,7 @@ static ssize_t __iio_format_value(char *buf, size_t len, unsigned int type, | |||
631 | * iio_format_value() - Formats a IIO value into its string representation | 631 | * iio_format_value() - Formats a IIO value into its string representation |
632 | * @buf: The buffer to which the formatted value gets written | 632 | * @buf: The buffer to which the formatted value gets written |
633 | * which is assumed to be big enough (i.e. PAGE_SIZE). | 633 | * which is assumed to be big enough (i.e. PAGE_SIZE). |
634 | * @type: One of the IIO_VAL_... constants. This decides how the val | 634 | * @type: One of the IIO_VAL_* constants. This decides how the val |
635 | * and val2 parameters are formatted. | 635 | * and val2 parameters are formatted. |
636 | * @size: Number of IIO value entries contained in vals | 636 | * @size: Number of IIO value entries contained in vals |
637 | * @vals: Pointer to the values, exact meaning depends on the | 637 | * @vals: Pointer to the values, exact meaning depends on the |
@@ -639,7 +639,7 @@ static ssize_t __iio_format_value(char *buf, size_t len, unsigned int type, | |||
639 | * | 639 | * |
640 | * Return: 0 by default, a negative number on failure or the | 640 | * Return: 0 by default, a negative number on failure or the |
641 | * total number of characters written for a type that belongs | 641 | * total number of characters written for a type that belongs |
642 | * to the IIO_VAL_... constant. | 642 | * to the IIO_VAL_* constant. |
643 | */ | 643 | */ |
644 | ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals) | 644 | ssize_t iio_format_value(char *buf, unsigned int type, int size, int *vals) |
645 | { | 645 | { |