aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-12 04:20:22 -0400
committerOhad Ben-Cohen <ohad@wizery.com>2014-02-24 04:16:16 -0500
commitbd88acba5f9809af48f66267bb16024b9e33cf2b (patch)
tree8130bccfecae14ba49a0c662ac93de2347da0f72 /drivers/remoteproc
parent0ddc5ec1c1f4d776a8e702b3bcc25daa015b8de6 (diff)
remoteproc/ste_modem: staticize local symbols
These local symbols are used only in this file. Fix the following sparse warnings: drivers/remoteproc/ste_modem_rproc.c:167:27: warning: symbol 'sproc_fw_ops' was not declared. Should it be static? drivers/remoteproc/ste_modem_rproc.c:196:25: warning: symbol 'sproc_dev_cb' was not declared. Should it be static? Signed-off-by: Jingoo Han <jg1.han@samsung.com> [standartize patch title] Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r--drivers/remoteproc/ste_modem_rproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/remoteproc/ste_modem_rproc.c b/drivers/remoteproc/ste_modem_rproc.c
index 1ec39a4c0b3e..c4ac9104dd8e 100644
--- a/drivers/remoteproc/ste_modem_rproc.c
+++ b/drivers/remoteproc/ste_modem_rproc.c
@@ -164,7 +164,7 @@ sproc_find_loaded_rsc_table(struct rproc *rproc, const struct firmware *fw)
164} 164}
165 165
166/* STE modem firmware handler operations */ 166/* STE modem firmware handler operations */
167const struct rproc_fw_ops sproc_fw_ops = { 167static const struct rproc_fw_ops sproc_fw_ops = {
168 .load = sproc_load_segments, 168 .load = sproc_load_segments,
169 .find_rsc_table = sproc_find_rsc_table, 169 .find_rsc_table = sproc_find_rsc_table,
170 .find_loaded_rsc_table = sproc_find_loaded_rsc_table, 170 .find_loaded_rsc_table = sproc_find_loaded_rsc_table,
@@ -193,7 +193,7 @@ static void sproc_kick_callback(struct ste_modem_device *mdev, int vqid)
193 sproc_dbg(sproc, "no message was found in vqid %d\n", vqid); 193 sproc_dbg(sproc, "no message was found in vqid %d\n", vqid);
194} 194}
195 195
196struct ste_modem_dev_cb sproc_dev_cb = { 196static struct ste_modem_dev_cb sproc_dev_cb = {
197 .kick = sproc_kick_callback, 197 .kick = sproc_kick_callback,
198}; 198};
199 199