diff mbox

[RFC] ath10k: ath10k_register_gpio_chip() can be static

Message ID 20180224145843.GA55309@roam (mailing list archive)
State New, archived
Headers show

Commit Message

kernel test robot Feb. 24, 2018, 2:58 p.m. UTC
Fixes: 35b91f175b35 ("ath10k: add LED and GPIO controlling support for various chipsets")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 gpio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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;