staging: r8188eu: remove header file odm_reg.h
authorMichael Straube <straube.linux@gmail.com>
Mon, 13 Sep 2021 09:08:31 +0000 (11:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 16:24:23 +0000 (18:24 +0200)
After removing unused register definitions from odm_reg.h there are
only two definitions left. Move them into odm.h and remove odm_reg.h.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210913090831.13803-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/odm.h
drivers/staging/r8188eu/include/odm_precomp.h
drivers/staging/r8188eu/include/odm_reg.h [deleted file]

index c76161b..c6e876f 100644 (file)
 #define ANTTESTA               0x01    /* Ant A will be Testing */
 #define ANTTESTB               0x02    /* Ant B will be testing */
 
+/* RF REG */
+#define ODM_CHANNEL    0x18
+
+/* Ant Detect Reg */
+#define ODM_DPDT       0x300
+
 /*  structure and define */
 
 /*  Add for AP/ADSLpseudo DM structuer requirement. */
index a1d6d67..ffc6f8e 100644 (file)
@@ -26,7 +26,6 @@
 #include "rtl8188e_hal.h"
 
 #include "odm_interface.h"
-#include "odm_reg.h"
 
 #include "HalHWImg8188E_MAC.h"
 #include "HalHWImg8188E_RF.h"
diff --git a/drivers/staging/r8188eu/include/odm_reg.h b/drivers/staging/r8188eu/include/odm_reg.h
deleted file mode 100644 (file)
index 9143268..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/* Copyright(c) 2007 - 2011 Realtek Corporation. i*/
-
-#ifndef        __HAL_ODM_REG_H__
-#define __HAL_ODM_REG_H__
-
-/*  Register Definition */
-
-/* RF REG */
-#define        ODM_CHANNEL                                     0x18
-
-/* Ant Detect Reg */
-#define        ODM_DPDT                                                0x300
-
-#endif