staging: r8188eu: merge odm_types.h into other headers
authorMichael Straube <straube.linux@gmail.com>
Sun, 2 Oct 2022 07:48:23 +0000 (09:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Oct 2022 15:19:37 +0000 (17:19 +0200)
commit11247c998b00298e9b621f3121380494146c40ff
treea3dd359b908f8de4fb8a3a901016ecb0bc448ecc
parent753def95543cf1a01f5487c0ae8cce3ee5180d77
staging: r8188eu: merge odm_types.h into other headers

The macros SET_TX_DESC_ANTSEL_{A,B,C}_88E are used in odm_RTL8188E.c.
Move them from odm_types.h to odm_RTL8188E.h.

ODM_CE is used in places where also ODM_ITRF_USB is used in the code.
Move the ODM_CE define to the header that defines ODM_ITRF_USB. While
at it remove an extra space between '#' and 'define ODM_ITRF_USB'.

The haeder odm_types.h is now empty and we can remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221002074827.8566-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_RTL8188E.h
drivers/staging/r8188eu/include/odm_types.h [deleted file]
drivers/staging/r8188eu/include/rtl8188e_hal.h