diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2012-06-25 21:12:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-26 21:57:29 (GMT) |
commit | 42196d396378f4e4658dbe157d78fd23bce6bbbd (patch) | |
tree | 1601ff825472ed1ebe252bf101b18ae054909cfb /drivers/staging/iio/Documentation | |
parent | d8da0eeed738dbbe9d9ff793bb8f047c2cc474b7 (diff) | |
download | linux-fsl-qoriq-42196d396378f4e4658dbe157d78fd23bce6bbbd.tar.xz |
staging: iio: fix warning 'static but used in inline function'
iio_utils.h:367:10: warning: ‘iioutils_break_up_name’ is static but used in inline function ‘build_channel_array’ which is not static [enabled by default]
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/Documentation')
-rw-r--r-- | drivers/staging/iio/Documentation/iio_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/Documentation/iio_utils.h b/drivers/staging/iio/Documentation/iio_utils.h index d9439f8..9c7a5aa 100644 --- a/drivers/staging/iio/Documentation/iio_utils.h +++ b/drivers/staging/iio/Documentation/iio_utils.h @@ -27,7 +27,7 @@ const char *iio_dir = "/sys/bus/iio/devices/"; * @full_name: the full channel name * @generic_name: the output generic channel name **/ -static int iioutils_break_up_name(const char *full_name, +inline int iioutils_break_up_name(const char *full_name, char **generic_name) { char *current; |