[RFC PATCH] ath10k: ath10k_register_gpio_chip() can be static

kbuild test robot lkp at intel.com
Sat Feb 24 06:58:43 PST 2018


Fixes: 35b91f175b35 ("ath10k: add LED and GPIO controlling support for various chipsets")
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
 gpio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/gpio.c b/drivers/net/wireless/ath/ath10k/gpio.c
index a760319..e9ce44b 100644
--- a/drivers/net/wireless/ath/ath10k/gpio.c
+++ b/drivers/net/wireless/ath/ath10k/gpio.c
@@ -81,7 +81,7 @@ static void ath10k_gpio_pin_set(struct gpio_chip *chip, unsigned offset,
 }
 
 /* register GPIO chip */
-int ath10k_register_gpio_chip(struct ath10k *ar)
+static int ath10k_register_gpio_chip(struct ath10k *ar)
 {
  
 	struct ath10k_gpiocontrol *gpio = ar->gpio;



More information about the ath10k mailing list