[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180628153709.GA31782@lkp-ib03>
Date: Thu, 28 Jun 2018 23:37:09 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Stefan Popa <stefan.popa@...log.com>
Cc: kbuild-all@...org, jic23@...nel.org, Michael.Hennerich@...log.com,
lars@...afoo.de, knaack.h@....de, pmeerw@...erw.net,
mchehab@...nel.org, davem@...emloft.net,
gregkh@...uxfoundation.org, akpm@...ux-foundation.org,
linus.walleij@...aro.org, rdunlap@...radead.org, lukas@...ner.de,
Ismail.Kose@...imintegrated.com, vilhelm.gray@...il.com,
sean.nyekjaer@...vas.dk, pombredanne@...b.com,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
stefan.popa@...log.com
Subject: [RFC PATCH] iio: dac: cmpfunc() can be static
Fixes: 2c1562568d29 ("iio: dac: Add AD5758 support")
Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
---
ad5758.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/dac/ad5758.c b/drivers/iio/dac/ad5758.c
index 2aaddf9..55c0a61 100644
--- a/drivers/iio/dac/ad5758.c
+++ b/drivers/iio/dac/ad5758.c
@@ -234,7 +234,7 @@ static int ad5758_spi_write_mask(struct ad5758_state *st,
return ad5758_spi_reg_write(st, addr, regval);
}
-int cmpfunc(const void *a, const void *b)
+static int cmpfunc(const void *a, const void *b)
{
return (*(int *)a - *(int *)b);
}
Powered by blists - more mailing lists