Search Linux Wireless

[PATCH 1/3] rfkill: add missing static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sparse says:
  CHECK   net/rfkill/core.c
net/rfkill/core.c:430:6: warning: symbol '__rfkill_set_sw_state' was not declared. Should it be static?

Signed-off-by: Henrique de Moraes Holschuh <hmh@xxxxxxxxxx>
---
 net/rfkill/core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/rfkill/core.c b/net/rfkill/core.c
index 6991a41..9fd72ea 100644
--- a/net/rfkill/core.c
+++ b/net/rfkill/core.c
@@ -427,7 +427,7 @@ bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked)
 }
 EXPORT_SYMBOL(rfkill_set_hw_state);
 
-void __rfkill_set_sw_state(struct rfkill *rfkill, bool blocked)
+static void __rfkill_set_sw_state(struct rfkill *rfkill, bool blocked)
 {
 	u32 bit = RFKILL_BLOCK_SW;
 
-- 
1.6.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux