mirror of https://gitee.com/openkylin/linux.git
staging: brcm80211: fix "ERROR: space required after that close brace"
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
5ebee113b6
commit
0eeca2f48d
|
@ -44,14 +44,14 @@ extern uint32 wl_msg_level;
|
||||||
|
|
||||||
extern uint32 wl_ampdu_dbg;
|
extern uint32 wl_ampdu_dbg;
|
||||||
|
|
||||||
#define WL_AMPDU_UPDN(args) do {if (wl_ampdu_dbg & WL_AMPDU_UPDN_VAL) {WL_AMPDU(args);}} while (0)
|
#define WL_AMPDU_UPDN(args) do {if (wl_ampdu_dbg & WL_AMPDU_UPDN_VAL) {WL_AMPDU(args);} } while (0)
|
||||||
#define WL_AMPDU_RX(args) do {if (wl_ampdu_dbg & WL_AMPDU_RX_VAL) {WL_AMPDU(args);}} while (0)
|
#define WL_AMPDU_RX(args) do {if (wl_ampdu_dbg & WL_AMPDU_RX_VAL) {WL_AMPDU(args);} } while (0)
|
||||||
#define WL_AMPDU_ERR(args) do {if (wl_ampdu_dbg & WL_AMPDU_ERR_VAL) {WL_AMPDU(args);}} while (0)
|
#define WL_AMPDU_ERR(args) do {if (wl_ampdu_dbg & WL_AMPDU_ERR_VAL) {WL_AMPDU(args);} } while (0)
|
||||||
#define WL_AMPDU_TX(args) do {if (wl_ampdu_dbg & WL_AMPDU_TX_VAL) {WL_AMPDU(args);}} while (0)
|
#define WL_AMPDU_TX(args) do {if (wl_ampdu_dbg & WL_AMPDU_TX_VAL) {WL_AMPDU(args);} } while (0)
|
||||||
#define WL_AMPDU_CTL(args) do {if (wl_ampdu_dbg & WL_AMPDU_CTL_VAL) {WL_AMPDU(args);}} while (0)
|
#define WL_AMPDU_CTL(args) do {if (wl_ampdu_dbg & WL_AMPDU_CTL_VAL) {WL_AMPDU(args);} } while (0)
|
||||||
#define WL_AMPDU_HW(args) do {if (wl_ampdu_dbg & WL_AMPDU_HW_VAL) {WL_AMPDU(args);}} while (0)
|
#define WL_AMPDU_HW(args) do {if (wl_ampdu_dbg & WL_AMPDU_HW_VAL) {WL_AMPDU(args);} } while (0)
|
||||||
#define WL_AMPDU_HWTXS(args) do {if (wl_ampdu_dbg & WL_AMPDU_HWTXS_VAL) {WL_AMPDU(args);}} while (0)
|
#define WL_AMPDU_HWTXS(args) do {if (wl_ampdu_dbg & WL_AMPDU_HWTXS_VAL) {WL_AMPDU(args);} } while (0)
|
||||||
#define WL_AMPDU_HWDBG(args) do {if (wl_ampdu_dbg & WL_AMPDU_HWDBG_VAL) {WL_AMPDU(args);}} while (0)
|
#define WL_AMPDU_HWDBG(args) do {if (wl_ampdu_dbg & WL_AMPDU_HWDBG_VAL) {WL_AMPDU(args);} } while (0)
|
||||||
#define WL_AMPDU_ERR_ON() (wl_ampdu_dbg & WL_AMPDU_ERR_VAL)
|
#define WL_AMPDU_ERR_ON() (wl_ampdu_dbg & WL_AMPDU_ERR_VAL)
|
||||||
#define WL_AMPDU_HW_ON() (wl_ampdu_dbg & WL_AMPDU_HW_VAL)
|
#define WL_AMPDU_HW_ON() (wl_ampdu_dbg & WL_AMPDU_HW_VAL)
|
||||||
#define WL_AMPDU_HWTXS_ON() (wl_ampdu_dbg & WL_AMPDU_HWTXS_VAL)
|
#define WL_AMPDU_HWTXS_ON() (wl_ampdu_dbg & WL_AMPDU_HWTXS_VAL)
|
||||||
|
|
|
@ -1875,7 +1875,7 @@ static const sdiod_drive_str_t BCMINITDATA(sdiod_drive_strength_tab1)[] = {
|
||||||
4, 0x2}, {
|
4, 0x2}, {
|
||||||
2, 0x3}, {
|
2, 0x3}, {
|
||||||
1, 0x0}, {
|
1, 0x0}, {
|
||||||
0, 0x0}};
|
0, 0x0} };
|
||||||
|
|
||||||
/* SDIO Drive Strength to sel value table for PMU Rev 2, 3 */
|
/* SDIO Drive Strength to sel value table for PMU Rev 2, 3 */
|
||||||
static const sdiod_drive_str_t BCMINITDATA(sdiod_drive_strength_tab2)[] = {
|
static const sdiod_drive_str_t BCMINITDATA(sdiod_drive_strength_tab2)[] = {
|
||||||
|
@ -1886,7 +1886,7 @@ static const sdiod_drive_str_t BCMINITDATA(sdiod_drive_strength_tab2)[] = {
|
||||||
6, 0x4}, {
|
6, 0x4}, {
|
||||||
4, 0x2}, {
|
4, 0x2}, {
|
||||||
2, 0x1}, {
|
2, 0x1}, {
|
||||||
0, 0x0}};
|
0, 0x0} };
|
||||||
|
|
||||||
/* SDIO Drive Strength to sel value table for PMU Rev 8 (1.8V) */
|
/* SDIO Drive Strength to sel value table for PMU Rev 8 (1.8V) */
|
||||||
static const sdiod_drive_str_t BCMINITDATA(sdiod_drive_strength_tab3)[] = {
|
static const sdiod_drive_str_t BCMINITDATA(sdiod_drive_strength_tab3)[] = {
|
||||||
|
@ -1898,7 +1898,7 @@ static const sdiod_drive_str_t BCMINITDATA(sdiod_drive_strength_tab3)[] = {
|
||||||
12, 0x3}, {
|
12, 0x3}, {
|
||||||
8, 0x2}, {
|
8, 0x2}, {
|
||||||
4, 0x1}, {
|
4, 0x1}, {
|
||||||
0, 0x0}};
|
0, 0x0} };
|
||||||
|
|
||||||
#define SDIOD_DRVSTR_KEY(chip, pmu) (((chip) << 16) | (pmu))
|
#define SDIOD_DRVSTR_KEY(chip, pmu) (((chip) << 16) | (pmu))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue