aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/core/rtw_sta_mgt.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-30 16:39:21 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-30 16:46:56 +0200
commit78f2b22efc8f7649dcde44143e78149457f1162c (patch)
tree0aaebb9986329ad11ad26dd71eaaa2234162138c /drivers/staging/r8188eu/core/rtw_sta_mgt.c
parentstaging: r8188eu: remove rtw_usb_control_msg() macro (diff)
downloadlinux-dev-78f2b22efc8f7649dcde44143e78149457f1162c.tar.xz
linux-dev-78f2b22efc8f7649dcde44143e78149457f1162c.zip
staging: r8188eu: fix include directory mess
The driver seems to want to include a specific directory for all include files on the build path, but that breaks when trying to build only the module directory, or when building with "O=" option. Fix this up by making all includes for the driver be relative locations. Reported-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20210730144227.1770212-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/core/rtw_sta_mgt.c')
-rw-r--r--drivers/staging/r8188eu/core/rtw_sta_mgt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/r8188eu/core/rtw_sta_mgt.c b/drivers/staging/r8188eu/core/rtw_sta_mgt.c
index 9a459eef861d..dc72b78877b0 100644
--- a/drivers/staging/r8188eu/core/rtw_sta_mgt.c
+++ b/drivers/staging/r8188eu/core/rtw_sta_mgt.c
@@ -3,12 +3,12 @@
#define _RTW_STA_MGT_C_
-#include <osdep_service.h>
-#include <drv_types.h>
-#include <recv_osdep.h>
-#include <xmit_osdep.h>
-#include <mlme_osdep.h>
-#include <sta_info.h>
+#include "../include/osdep_service.h"
+#include "../include/drv_types.h"
+#include "../include/recv_osdep.h"
+#include "../include/xmit_osdep.h"
+#include "../include/mlme_osdep.h"
+#include "../include/sta_info.h"
static void _rtw_init_stainfo(struct sta_info *psta)
{