]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
mfd: rtsx: Fix sparse non static symbol warning
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 20 Dec 2013 02:50:30 +0000 (10:50 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 21 Jan 2014 08:28:14 +0000 (08:28 +0000)
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>
drivers/mfd/rtl8411.c

index ada38ad54e87b4f1d1d52e96375d7cfa0de499b7..fdd34c883d868b96df11064b86933ab9c0172c35 100644 (file)
@@ -470,7 +470,7 @@ static const u32 rtl8411b_qfn48_ms_pull_ctl_disable_tbl[] = {
        0,
 };
 
-void rtl8411_init_common_params(struct rtsx_pcr *pcr)
+static void rtl8411_init_common_params(struct rtsx_pcr *pcr)
 {
        pcr->extra_caps = EXTRA_CAPS_SD_SDR50 | EXTRA_CAPS_SD_SDR104;
        pcr->num_slots = 2;