rtw89: add const in the cast of le32_get_bits()
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 19 Nov 2021 05:45:11 +0000 (13:45 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 8 Dec 2021 18:26:35 +0000 (20:26 +0200)
commit321e763ccc5260364600b4facd9e9acf645949b2
tree02bab3e4a1c44a95a8fd3d742debe59455edff92
parent1fe5b01262844be03de98afdd56d1d393df04d7e
rtw89: add const in the cast of le32_get_bits()

Add 'const' to be clear that this is a read-only access, and this patch
doesn't change logic at all.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Tested-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211119054512.10620-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.h
drivers/net/wireless/realtek/rtw89/txrx.h