提交 ab8c7bf5 编写于 作者: F Franky Lin 提交者: Greg Kroah-Hartman

staging: brcm80211: remove fullmac module_param brcmf_sdiod_drive_strength

Replaced the global variable with constant
Reviewed-by: NRoland Vossen <rvossen@broadcom.com>
Reviewed-by: NPieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: NArend van Spriel <arend@broadcom.com>
Signed-off-by: NFranky Lin <frankyl@broadcom.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 9ca59c6f
...@@ -759,9 +759,7 @@ static uint brcmf_txminmax; ...@@ -759,9 +759,7 @@ static uint brcmf_txminmax;
int brcmf_idletime = 1; int brcmf_idletime = 1;
module_param(brcmf_idletime, int, 0); module_param(brcmf_idletime, int, 0);
/* SDIO Drive Strength (in milliamps) */ #define SDIO_DRIVE_STRENGTH 6 /* in milliamps */
uint brcmf_sdiod_drive_strength = 6;
module_param(brcmf_sdiod_drive_strength, uint, 0);
/* Use polling */ /* Use polling */
uint brcmf_poll; uint brcmf_poll;
...@@ -4607,7 +4605,7 @@ brcmf_sdbrcm_probe_attach(struct brcmf_bus *bus, u32 regsva) ...@@ -4607,7 +4605,7 @@ brcmf_sdbrcm_probe_attach(struct brcmf_bus *bus, u32 regsva)
goto fail; goto fail;
} }
brcmf_sdbrcm_sdiod_drive_strength_init(bus, brcmf_sdiod_drive_strength); brcmf_sdbrcm_sdiod_drive_strength_init(bus, SDIO_DRIVE_STRENGTH);
/* Get info on the ARM and SOCRAM cores... */ /* Get info on the ARM and SOCRAM cores... */
brcmf_sdcard_reg_read(bus->sdiodev, brcmf_sdcard_reg_read(bus->sdiodev,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册