Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8466ea7 authored by Henriette Hofmeier's avatar Henriette Hofmeier Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723bs: Fix comment on variable init



Change comment from 'local variable' to 'global variables'
and change style to comply with coding-style.

Signed-off-by: default avatarHenriette Hofmeier <passt@h-hofmeier.de>
Signed-off-by: default avatarFlorian Harbecke <florian.harbecke@fau.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cbb2cb50
Loading
Loading
Loading
Loading
+1 −4
Original line number Original line Diff line number Diff line
@@ -12,7 +12,7 @@
#include <linux/jiffies.h>
#include <linux/jiffies.h>




/*------------------------Define local variable------------------------------*/
/* Define global variables */
u8 fakeEfuseBank;
u8 fakeEfuseBank;
u32 fakeEfuseUsedBytes;
u32 fakeEfuseUsedBytes;
u8 fakeEfuseContent[EFUSE_MAX_HW_SIZE] = {0};
u8 fakeEfuseContent[EFUSE_MAX_HW_SIZE] = {0};
@@ -28,12 +28,9 @@ u32 fakeBTEfuseUsedBytes;
u8 fakeBTEfuseContent[EFUSE_MAX_BT_BANK][EFUSE_MAX_HW_SIZE];
u8 fakeBTEfuseContent[EFUSE_MAX_BT_BANK][EFUSE_MAX_HW_SIZE];
u8 fakeBTEfuseInitMap[EFUSE_BT_MAX_MAP_LEN] = {0};
u8 fakeBTEfuseInitMap[EFUSE_BT_MAX_MAP_LEN] = {0};
u8 fakeBTEfuseModifiedMap[EFUSE_BT_MAX_MAP_LEN] = {0};
u8 fakeBTEfuseModifiedMap[EFUSE_BT_MAX_MAP_LEN] = {0};
/*------------------------Define local variable------------------------------*/


/*  */
#define REG_EFUSE_CTRL		0x0030
#define REG_EFUSE_CTRL		0x0030
#define EFUSE_CTRL			REG_EFUSE_CTRL		/*  E-Fuse Control. */
#define EFUSE_CTRL			REG_EFUSE_CTRL		/*  E-Fuse Control. */
/*  */


bool
bool
Efuse_Read1ByteFromFakeContent(
Efuse_Read1ByteFromFakeContent(