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>
This commit is contained in:
Peter Meerwald 2012-06-25 23:12:15 +02:00 committed by Greg Kroah-Hartman
parent d8da0eeed7
commit 42196d3963
1 changed files with 1 additions and 1 deletions

View File

@ -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;