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:
parent
d8da0eeed7
commit
42196d3963
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue