summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-12-20 10:50:30 +0800
committerLee Jones <lee.jones@linaro.org>2014-01-21 08:28:14 +0000
commitb5167bc466ef5a267cbd2c1acc4bfb8959d26f47 (patch)
tree5f5e6a8a925a8eaf0d727694e69770af95c31e1e /drivers/mfd
parent75ad13278cb16a0d7f5d24644d36884bfdc92044 (diff)
downloadop-kernel-dev-b5167bc466ef5a267cbd2c1acc4bfb8959d26f47.zip
op-kernel-dev-b5167bc466ef5a267cbd2c1acc4bfb8959d26f47.tar.gz
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/rtl8411.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/rtl8411.c b/drivers/mfd/rtl8411.c
index ada38ad..fdd34c8 100644
--- a/drivers/mfd/rtl8411.c
+++ b/drivers/mfd/rtl8411.c
@@ -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;
OpenPOWER on IntegriCloud