Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: rtsx: Fix sparse non static symbol warning

Fixes the following sparse warning:

drivers/mfd/rtl8411.c:473:6: warning:
symbol 'rtl8411_init_common_params' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Wei Yongjun and committed by
Lee Jones
b5167bc4 75ad1327

+1 -1
+1 -1
drivers/mfd/rtl8411.c
··· 470 470 0, 471 471 }; 472 472 473 - void rtl8411_init_common_params(struct rtsx_pcr *pcr) 473 + static void rtl8411_init_common_params(struct rtsx_pcr *pcr) 474 474 { 475 475 pcr->extra_caps = EXTRA_CAPS_SD_SDR50 | EXTRA_CAPS_SD_SDR104; 476 476 pcr->num_slots = 2;