Commit 3da0d662 authored by Larry Finger's avatar Larry Finger Committed by John W. Linville

rtl8187: Fix sparse warnings

Due to a missing header include, sparse generates the following warnings:

  CHECK   drivers/net/wireless/rtl818x/rtl8187_rfkill.c
warning: symbol 'rtl8187_rfkill_init' was not declared. Should it be static?
warning: symbol 'rtl8187_rfkill_poll' was not declared. Should it be static?
warning: symbol 'rtl8187_rfkill_exit' was not declared. Should it be static?
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 1e93bd4a
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <net/mac80211.h> #include <net/mac80211.h>
#include "rtl8187.h" #include "rtl8187.h"
#include "rtl8187_rfkill.h"
static bool rtl8187_is_radio_enabled(struct rtl8187_priv *priv) static bool rtl8187_is_radio_enabled(struct rtl8187_priv *priv)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment