Commit 67431f25 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: r8188eu: move ODM_TARGET_CHNL_NUM_2G_5G

The ODM_TARGET_CHNL_NUM_2G_5G define is only used in one place, so move
it to the .c file it is used in instead of being in a .h file.

Link: https://lore.kernel.org/r/20210730092417.1014392-2-gregkh@linuxfoundation.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cea32de2
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
/* 3 IQ Calibration */ /* 3 IQ Calibration */
/* 3============================================================ */ /* 3============================================================ */
#define ODM_TARGET_CHNL_NUM_2G_5G 59
u8 ODM_GetRightChnlPlaceforIQK(u8 chnl) u8 ODM_GetRightChnlPlaceforIQK(u8 chnl)
{ {
u8 channel_all[ODM_TARGET_CHNL_NUM_2G_5G] = { u8 channel_all[ODM_TARGET_CHNL_NUM_2G_5G] = {
......
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
#ifndef __HAL_PHY_RF_H__ #ifndef __HAL_PHY_RF_H__
#define __HAL_PHY_RF_H__ #define __HAL_PHY_RF_H__
#define ODM_TARGET_CHNL_NUM_2G_5G 59
u8 ODM_GetRightChnlPlaceforIQK(u8 chnl); u8 ODM_GetRightChnlPlaceforIQK(u8 chnl);
#endif /* #ifndef __HAL_PHY_RF_H__ */ #endif /* #ifndef __HAL_PHY_RF_H__ */
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