staging: rtl8188eu: Add missing include
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 30 Sep 2015 15:20:47 +0000 (10:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 09:48:15 +0000 (11:48 +0200)
In commit 0a0796eb16f3, there is no include to mon.h, a newly created
header file. This omission leads to the following Sparse warnings:

  CHECK   drivers/staging/rtl8188eu/os_dep/mon.c
drivers/staging/rtl8188eu/os_dep/mon.c:81:6: warning: symbol 'rtl88eu_mon_recv_hook' was not declared. Should it be static?
drivers/staging/rtl8188eu/os_dep/mon.c:113:6: warning: symbol 'rtl88eu_mon_xmit_hook' was not declared. Should it be static?
drivers/staging/rtl8188eu/os_dep/mon.c:167:19: warning: symbol 'rtl88eu_mon_init' was not declared. Should it be static?
drivers/staging/rtl8188eu/os_dep/mon.c:188:6: warning: symbol 'rtl88eu_mon_deinit' was not declared. Should it be static?

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Jakub Sitnicki <jsitnicki@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/mon.c

index 3dd3dc05fd5323e27ee1792c5b7ae4a75ea69327..63bb87593af0ca0c42b60782d5808b2cec21bb60 100644 (file)
@@ -20,6 +20,7 @@
 #include <drv_types.h>
 #include <rtw_recv.h>
 #include <rtw_xmit.h>
+#include <mon.h>
 
 /**
  * unprotect_frame() - unset Protected flag and strip off IV and ICV/MIC