diff options
Diffstat (limited to 'package/kernel/mac80211/patches/312-v4.16-0004-brcmfmac-Rename-replace-old-IO-functions-with-simple.patch')
-rw-r--r-- | package/kernel/mac80211/patches/312-v4.16-0004-brcmfmac-Rename-replace-old-IO-functions-with-simple.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/mac80211/patches/312-v4.16-0004-brcmfmac-Rename-replace-old-IO-functions-with-simple.patch b/package/kernel/mac80211/patches/312-v4.16-0004-brcmfmac-Rename-replace-old-IO-functions-with-simple.patch index 7aa3de9..7c27e17 100644 --- a/package/kernel/mac80211/patches/312-v4.16-0004-brcmfmac-Rename-replace-old-IO-functions-with-simple.patch +++ b/package/kernel/mac80211/patches/312-v4.16-0004-brcmfmac-Rename-replace-old-IO-functions-with-simple.patch @@ -198,14 +198,14 @@ Signed-off-by: Kalle Valo <kvalo@codeaurora.org> int retval; - retval = brcmf_sdiod_reg_read(sdiodev, addr, 1, &data); -+ retval = brcmf_sdiod_addrprep(sdiodev, &addr); - +- - if (ret) - *ret = retval; - - return data; -} -- ++ retval = brcmf_sdiod_addrprep(sdiodev, &addr); + -u32 brcmf_sdiod_regrl(struct brcmf_sdio_dev *sdiodev, u32 addr, int *ret) -{ - u32 data; |